// // CCBlockLayer::init from 0x2e5d04 to 0x2e5d8c (136 bytes) // // 3 xrefs: // > CCBlockLayer::create @ 0x2e5cb0 // > PauseLayer::init @ 0x3a7bfe // > EditorPauseLayer::init @ 0x3ff68e // // 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 CCBlockLayer::init(CCBlockLayer *a1) { int v2; // r6 cocos2d::CCDirector *v3; // r0 cocos2d::CCSize v5; // [sp+4h] [bp+0h] BYREF v5.width = 1.0634e37; v2 = cocos2d::CCLayerColor::initWithColor(a1, (const cocos2d::_ccColor4B *)&v5); if ( v2 ) { CCBlockLayer::incrementForcePrio(a1); a1->setTouchEnabled(a1, 1); a1->setKeypadEnabled(a1, 1); a1->setKeyboardEnabled(a1, 1); v3 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(&v5, v3); a1->customSetup(a1); a1->m_closeOnHide = 1; } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source