/* Bounded original Carl contact dispatch, not physical pair admission or talk. Synthetic actors; actual 40A3C0,470A90,470A60,4089B0,475D40 execute. Native allocation and NPC animation/type callbacks are explicit adapters. */ #define main unused_grappler_main #include "grappler_scalar_probe.c" #undef main static unsigned char jimmy[0x1f00], other[0x1f00], game[0x600]; static uintptr_t npc_complete[0x190/4], npc_game[0x440/4]; static uintptr_t jimmy_game[0x440/4], game_table[0x150/4]; static uintptr_t contacts[3]; static int support, support_calls, animation_calls, prepare_calls; static int TC is_a(void *self, const char *type){(void)self;(void)type;return 0;} static int TC supported(void *self){require(self==jimmy+0xc0,"support owner");support_calls++;return support;} static void TC prepare(void *self){require(self==object,"NPC prepare owner");prepare_calls++;} static void TC animate(void *self,const char *name,int repeat){ require(self==object&&name==(char*)object+0x898&&repeat==1,"NPC idle animation owner");animation_calls++; } static void *allocate(size_t size){require(size==12,"contact node allocation");return malloc(size);} static void fix(uint32_t start,uint32_t end){ const uint32_t refs[]={0x509948,0x5099e4,0x408b94}; for(uint32_t a=start;a+4<=end;a++){ uint32_t value;memcpy(&value,AT(a),4); for(unsigned i=0;i