// // CCBlockLayer::init from 0x3c5a60 to 0x3c5ae8 (136 bytes) // // 3 xrefs: // > CCBlockLayer::create @ 0x3c5a08 // > PauseLayer::init @ 0x48ec54 // > EditorPauseLayer::init @ 0x509702 // // 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 11:46:34 +0000 // int __fastcall CCBlockLayer::init(CCBlockLayer *this) { int v2; // r6 cocos2d::CCDirector *v3; // r0 _BYTE v5[8]; // [sp+4h] [bp+0h] BYREF v5[0] = 0; v5[1] = 0; v5[2] = 0; v5[3] = 125; v2 = cocos2d::CCLayerColor::initWithColor(this, v5); if ( v2 ) { CCBlockLayer::incrementForcePrio((unsigned __int8 *)this); (*(void (__fastcall **)(CCBlockLayer *, int))(*(_DWORD *)this + 500))(this, 1); (*(void (__fastcall **)(CCBlockLayer *, int))(*(_DWORD *)this + 536))(this, 1); v3 = (cocos2d::CCDirector *)(*(int (__fastcall **)(CCBlockLayer *, int))(*(_DWORD *)this + 544))(this, 1); cocos2d::CCDirector::sharedDirector(v3); cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v5); (*(void (__fastcall **)(CCBlockLayer *))(*(_DWORD *)this + 652))(this); *((_BYTE *)this + 440) = 1; } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source