// // cocos2d::CCDirector::willSwitchToScene from 0xd49868 to 0xd498b4 (76 bytes) // // 6 xrefs: // > GJGarageLayer::onBack @ 0x8b97a4 // > cocos2d::CCDirector::pushScene @ 0xd4993c // > cocos2d::CCDirector::replaceScene @ 0xd49a5c // > cocos2d::CCTransitionScene::hideOutShowIn @ 0xd5f168 // > cocos2d::CCTransitionMoveInL::onEnter @ 0xd6119c // > @ 0x41170 // // 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:07:37 +0000 // __int64 __fastcall cocos2d::CCDirector::willSwitchToScene(__int64 result, __int64 a2) { void (__fastcall ***v2)(_QWORD); // x0 if ( !*(_BYTE *)(result + 404) ) { v2 = *(void (__fastcall ****)(_QWORD))(result + 360); if ( v2 ) (**v2)(v2); result = *(_QWORD *)(a2 + 320); if ( result ) return (**(__int64 (__fastcall ***)(__int64))result)(result); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source