// // sub_1800A1530 from 0x1800a1530 to 0x1800a15a1 (113 bytes) // // 4 xrefs: // > cocos2d::CCArray::fastRemoveObject @ 0x180007004 // > @ 0x18014822c // > @ 0x18014823c // > @ 0x1801c16c8 // // 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 11:22:13 +0000 // __int64 __fastcall sub_1800A1530(unsigned int *a1, __int64 a2) { unsigned int v2; // r9d _QWORD *v4; // rcx __int64 result; // rax _QWORD *v6; // r8 __int64 v7; // rdi cocos2d::CCObject *v8; // rcx __int64 v9; // rcx v2 = *a1; v4 = *((_QWORD **)a1 + 2); result = 0; v6 = v4; if ( v2 ) { while ( *v6 != a2 ) { result = (unsigned int)(result + 1); ++v6; if ( (unsigned int)result >= v2 ) return result; } if ( (_DWORD)result != -1 ) { v7 = 8 * result; v8 = (cocos2d::CCObject *)v4[result]; if ( v8 ) cocos2d::CCObject::release(v8); --*a1; v9 = *((_QWORD *)a1 + 2); result = *(_QWORD *)(v9 + 8LL * *a1); *(_QWORD *)(v9 + v7) = result; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source