// // sub_1402A65F0 from 0x1402a65f0 to 0x1402a6690 (160 bytes) // // 3 xrefs: // > sub_1402A6550 @ 0x1402a655f // > sub_1402A6590 @ 0x1402a65c5 // > @ 0x1406d2108 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall sub_1402A65F0(__int64 a1) { cocos2d::CCObject *v2; // rcx cocos2d::CCObject *v3; // rcx GameManager *v4; // rcx void *v5; // rax *(_QWORD *)a1 = &GJRobotSprite::`vftable'; *(_QWORD *)(a1 + 320) = &GJRobotSprite::`vftable'; *(_QWORD *)(a1 + 344) = &GJRobotSprite::`vftable'; v2 = *(cocos2d::CCObject **)(a1 + 760); if ( v2 ) cocos2d::CCObject::release(v2); v3 = *(cocos2d::CCObject **)(a1 + 744); if ( v3 ) cocos2d::CCObject::release(v3); v4 = (GameManager *)qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v5 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v5); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v4 = (GameManager *)qword_1406C2ED8; } GameManager::unloadIcons(v4, *(_DWORD *)(a1 + 788)); CCAnimatedSprite::dCCAnimatedSprite(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source