// // cocos2d::ccArrayGetIndexOfObject from 0xd91a94 to 0xd91ae0 (76 bytes) // // 8 xrefs: // > cocos2d::CCActionManager::removeAction @ 0xd37940 // > cocos2d::CCArray::indexOfObject @ 0xd46e68 // > cocos2d::CCArray::exchangeObject @ 0xd4749c // > cocos2d::CCArray::exchangeObject @ 0xd474b8 // > cocos2d::ccArrayContainsObject @ 0xd91ae8 // > cocos2d::ccArrayFastRemoveObject @ 0xd922ec // > cocos2d::ccArrayRemoveObject @ 0xd9232c // > @ 0xe77f0 // // 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 13:08:19 +0000 // __int64 __fastcall cocos2d::ccArrayGetIndexOfObject(int *a1, __int64 a2) { int v2; // w4 _QWORD *v3; // x2 __int64 result; // x0 v2 = *a1; v3 = *((_QWORD **)a1 + 2); if ( *a1 ) { if ( *v3 == a2 ) return 0; LODWORD(result) = 0; while ( 1 ) { result = (unsigned int)(result + 1); ++v3; if ( (_DWORD)result == v2 ) break; if ( *v3 == a2 ) return result; } } return 0xFFFFFFFFLL; }
GD Web Decomp Icon

GD Web Decomp

Raw Source