// // sub_1003F3548 from 0x1003f3548 to 0x1003f35b4 (108 bytes) // // 2 xrefs: // > cocos2d::CCTouchDispatcher::addTargetedDelegate @ 0x1001cd9dc // > cocos2d::CCTouchDispatcher::addStandardDelegate @ 0x1001cdb54 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:04:31 +0000 // unsigned int *__fastcall sub_1003F3548(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