// // sub_100747560 from 0x100747560 to 0x1007475e3 (131 bytes) // // 1 xrefs: // > sub_1007FF140 @ 0x1007ff149 // // This function is hookable on this platform (idp: pc, 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 12:36:31 +0000 // void __fastcall sub_100747560(int *a1, __int64 a2, char a3) { int v3; // ecx __int64 v4; // rax __int64 v5; // rbx _DWORD *v6; // rax v3 = *a1; if ( *a1 ) { v4 = *((_QWORD *)a1 + 2); v5 = 0; while ( *(_QWORD *)(v4 + 8 * v5) != a2 ) { if ( v3 == (_DWORD)++v5 ) return; } if ( (_DWORD)v5 != -1 ) { if ( a3 ) { v6 = *(_DWORD **)(v4 + 8 * v5); if ( v6 ) { cocos2d::CCObject::release(v6); v3 = *a1; } } *a1 = v3 - 1; if ( v3 - 1 != (_DWORD)v5 ) memmove( (void *)(*((_QWORD *)a1 + 2) + 8 * v5), (const void *)(*((_QWORD *)a1 + 2) + 8 * v5 + 8), 8LL * (unsigned int)(v3 + ~(_DWORD)v5)); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source