// // cocos2d::CCDirector::drawScene from 0xd4a1d0 to 0xd4a2d0 (256 bytes) // // 2 xrefs: // > cocos2d::CCDisplayLinkDirector::mainLoop @ 0xd4a2f0 // > @ 0x4c780 // // 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 // float __fastcall cocos2d::CCDirector::drawScene(cocos2d::CCDirector *this) { __int64 v2; // x0 __int64 Scene; // x0 __int64 v4; // x0 __int64 v5; // x0 __int64 v6; // x0 float result; // s0 __int64 v8; // x0 cocos2d::CCDirector::calculateDeltaTime(this); if ( !*((_BYTE *)this + 256) ) (*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 13) + 40LL))( *((_QWORD *)this + 13), *((float *)this + 42)); v2 = *((_QWORD *)this + 24); if ( v2 ) (*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 176LL))(v2); glClear(); Scene = *((_QWORD *)this + 35); if ( Scene ) Scene = cocos2d::CCDirector::setNextScene(this); kmGLPushMatrix(Scene); v4 = *((_QWORD *)this + 34); if ( v4 ) (*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 752LL))(v4); v5 = *((_QWORD *)this + 43); if ( v5 ) (*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 752LL))(v5); if ( *((_BYTE *)this + 217) ) cocos2d::CCDirector::showStats((__int64)this); v6 = *((unsigned __int8 *)this + 368); if ( *((_BYTE *)this + 368) ) v6 = cocos2d::CCDirector::showFPSLabel(this); kmGLPopMatrix(v6); v8 = *((_QWORD *)this + 24); ++*((_DWORD *)this + 65); if ( v8 ) (*(void (__fastcall **)(__int64))(*(_QWORD *)v8 + 32LL))(v8); if ( *((_BYTE *)this + 217) ) return cocos2d::CCDirector::calculateMPF(this); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source