// // sub_100353C08 from 0x100353c08 to 0x100353c58 (80 bytes) // // 7 xrefs: // > cocos2d::CCTouchDispatcher::removeDelegate @ 0x10014f138 // > cocos2d::CCKeypadDispatcher::removeDelegate @ 0x1001ad630 // > cocos2d::CCKeypadDispatcher::addDelegate @ 0x1001ad70c // > sub_100239ADC @ 0x100239afc // > sub_100239BB8 @ 0x100239bd8 // > cocos2d::CCMouseDispatcher::removeDelegate @ 0x1002fe180 // > cocos2d::CCMouseDispatcher::addDelegate @ 0x1002fe25c // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // unsigned int *__fastcall sub_100353C08(unsigned int *result, __int64 a2) { unsigned int v2; // w8 __int64 v3; // x10 unsigned int *v4; // x19 unsigned int v5; // w8 v3 = *result; v2 = result[1]; *(_QWORD *)(*((_QWORD *)result + 2) + 8 * v3) = a2; *result = v3 + 1; if ( (int)v3 + 1 >= v2 ) { v4 = result; v5 = 2 * v2; result[1] = v5; result = (unsigned int *)realloc(*((void **)result + 2), 8LL * v5); *((_QWORD *)v4 + 2) = result; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source