// // cocos2d::CCDirector::setNextScene from 0x7cac3c to 0x7cacfc (192 bytes) // // 1 xrefs: // > cocos2d::CCDirector::drawScene @ 0x7cae6a // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:00:30 +0000 // int __fastcall cocos2d::CCDirector::setNextScene(cocos2d::CCDirector *this) { int v2; // r5 _BOOL4 v3; // r7 const void *v4; // r0 _DWORD *v5; // r0 int v6; // r0 int result; // r0 int v8; // r0 v2 = *((_DWORD *)this + 55); if ( v2 ) v3 = _dynamic_cast( *((const void **)this + 55), (const struct __class_type_info *)&`typeinfo for'cocos2d::CCScene, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCTransitionScene, 0) != nullptr; else v3 = 0; v4 = *((const void **)this + 56); if ( !v4 || !_dynamic_cast( v4, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCScene, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCTransitionScene, 0) ) { if ( v2 ) { (*(void (__fastcall **)(int))(*(_DWORD *)v2 + 364))(v2); (*(void (__fastcall **)(_DWORD))(**((_DWORD **)this + 55) + 360))(*((_DWORD *)this + 55)); } if ( *((_BYTE *)this + 228) ) { v8 = *((_DWORD *)this + 55); if ( v8 ) (*(void (__fastcall **)(int))(*(_DWORD *)v8 + 368))(v8); } } v5 = *((_DWORD **)this + 55); if ( v5 ) cocos2d::CCObject::release(v5); v6 = *((_DWORD *)this + 56); *((_DWORD *)this + 55) = v6; result = cocos2d::CCObject::retain(v6); *((_DWORD *)this + 56) = 0; if ( !v3 ) { result = *((_DWORD *)this + 55); if ( result ) { (*(void (__fastcall **)(int))(*(_DWORD *)result + 352))(result); return (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 55) + 356))(*((_DWORD *)this + 55)); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source