// // CCBlockLayer::init from 0x10008624c to 0x1000862fc (176 bytes) // // 5 xrefs: // > PauseLayer::create @ 0x100141dac // > EditorPauseLayer::init @ 0x10039bbbc // > @ 0x10077e3b8 // > @ 0x100793de8 // > @ 0x10080b708 // // 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 // bool __fastcall CCBlockLayer::init(CCBlockLayer *a1) { _BOOL4 v2; // w20 cocos2d::CCDirector *v3; // x0 int v5; // [xsp+Ch] [xbp-24h] BYREF cocos2d::CCSize WinSize; // 0:kr00_8.8 v5 = 2097152000; v2 = cocos2d::CCLayerColor::initWithColor(a1, (const cocos2d::ccColor4B *)&v5); if ( v2 ) { CCBlockLayer::incrementForcePrio(a1); ((void (__fastcall *)(CCBlockLayer *, __int64))a1->setTouchEnabled)(a1, 1); ((void (__fastcall *)(CCBlockLayer *, __int64))a1->setKeypadEnabled)(a1, 1); ((void (__fastcall *)(CCBlockLayer *, __int64))a1->setKeyboardEnabled)(a1, 1); v3 = cocos2d::CCDirector::sharedDirector(); WinSize = cocos2d::CCDirector::getWinSize(v3); ((void (__fastcall *)(CCBlockLayer *, float, float))a1->customSetup)(a1, WinSize.width, WinSize.height); a1->m_closeOnHide = 1; } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source