// // sub_100353C58 from 0x100353c58 to 0x100353cc4 (108 bytes) // // 2 xrefs: // > cocos2d::CCTouchDispatcher::addTargetedDelegate @ 0x10014ee38 // > cocos2d::CCTouchDispatcher::addStandardDelegate @ 0x10014efa8 // // 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_100353C58(unsigned int *result, __int64 a2) { __int64 v2; // x9 __int64 v3; // x8 __int64 v4; // x9 v2 = *result; if ( (_DWORD)v2 ) { v3 = 0; while ( *(_QWORD *)(*((_QWORD *)result + 2) + 8 * v3) != a2 ) { if ( v2 == ++v3 ) return result; } if ( v3 != 0xFFFFFFFFLL ) { v4 = (unsigned int)(v2 - 1); *result = v4; if ( (unsigned int)v4 > (unsigned int)v3 ) { do { *(_QWORD *)(*((_QWORD *)result + 2) + 8 * v3) = *(_QWORD *)(*((_QWORD *)result + 2) + 8 * v3 + 8); ++v3; } while ( v4 != v3 ); } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source