// // sub_1004E8760 from 0x1004e8760 to 0x1004e8810 (176 bytes) // // 1 xrefs: // > sub_1004E7FB8 @ 0x1004e8104 // // 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:06:41 +0000 // void __fastcall sub_1004E8760(__int64 a1, __int64 a2) { int v4; // w20 __int64 v5; // x0 __int64 v6; // x0 if ( a2 ) { cocos2d::CCObject::retain(a2); cocos2d::CCObject::autorelease(a2); v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); v5 = *(_QWORD *)(a1 + 440); if ( v5 ) { *(_QWORD *)(a1 + 440) = 0; (*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 1112LL))(v5); } if ( v4 >= 1 ) { if ( *(_QWORD *)(GameManager::sharedState() + 552) ) { if ( *(_QWORD *)(*(_QWORD *)(GameManager::sharedState() + 552) + 3272LL) ) { v6 = GameManager::sharedState(); sub_10040E168(*(char **)(*(_QWORD *)(v6 + 552) + 3272LL), v4, *(_DWORD *)(a1 + 376)); } } sub_1004E7E8C(a1, v4); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source