// // cocos2d::CCLayer::init from 0x1004b05e0 to 0x1004b0632 (82 bytes) // // 100 xrefs: // > EditorUI::init @ 0x100009087 // > GJRotationControl::init @ 0x100051922 // > GJScaleControl::init @ 0x100051f94 // > GJTransformControl::init @ 0x100053184 // > CCTextInputNode::init @ 0x10009e15a // > DrawGridLayer::init @ 0x100100d44 // > GJBaseGameLayer::init @ 0x10010fb97 // > GJGameLoadingLayer::init @ 0x100165698 // > EditLevelLayer::init @ 0x1001fa6fa // > CustomListView::getListCell @ 0x100240dae // > sub_100241A30 @ 0x100241a9d // > OptionsCell::OptionsCell @ 0x1002545cd // > MapSelectLayer::init @ 0x100267f54 // > LevelAreaLayer::init @ 0x1002778f7 // > LevelAreaInnerLayer::init @ 0x100279cf8 // > CreatorLayer::init @ 0x100297617 // > LevelInfoLayer::init @ 0x1002bd48d // > Slider::init @ 0x100304859 // > BoomListView::init @ 0x10030c76f // > GJShopLayer::init @ 0x100323059 // > cocos2d::extension::CCControl::init @ 0x1003514fd // > GJGarageLayer::init @ 0x100369297 // > MenuLayer::init @ 0x100390197 // > GauntletLayer::init @ 0x100392ab7 // > MultiplayerLayer::scene @ 0x10039aea0 // > MultiplayerLayer::create @ 0x10039af5f // > MultiplayerLayer::init @ 0x10039afa5 // > LoadingLayer::init @ 0x1003a26a7 // > BoomScrollLayer::init @ 0x1003a4c34 // > BoomScrollLayer::init @ 0x1003a4cbb // > ExtendedLayer::create @ 0x1003a505a // > ExtendedLayer::init @ 0x1003a7535 // > SecretLayer4::init @ 0x1003b0c97 // > WorldSelectLayer::init @ 0x1003c1dc7 // > ShaderLayer::init @ 0x1003ca68a // > ListButtonPage::init @ 0x1003f0540 // > cocos2d::extension::CCScrollView::initWithViewSize @ 0x1003f7367 // > LevelSelectLayer::init @ 0x100431c17 // > LevelPage::init @ 0x100435384 // > SecretLayer5::init @ 0x10047a069 // > SecretLayer6::init @ 0x10047eb84 // > SecretGame01Layer::init @ 0x10047fba2 // > MPLobbyLayer::scene @ 0x100493b4f // > MPLobbyLayer::create @ 0x100493c7b // > MPLobbyLayer::init @ 0x100493cc5 // > SecretLayer2::init @ 0x10049d1b7 // > SecretNumberLayer::create @ 0x1004a129f // > SecretNumberLayer::init @ 0x1004a3245 // > SecretLayer3::init @ 0x1004a3617 // > MenuGameLayer::init @ 0x1004f9a14 // > LeaderboardsLayer::init @ 0x10051233a // > sub_10056A790 @ 0x10056a7a7 // > GauntletSelectLayer::init @ 0x100571394 // > ButtonPage::init @ 0x1005e25c3 // > GJGroundLayer::init @ 0x1005eaaaa // > GJFlyGroundLayer::create @ 0x1005ebbcc // > GJFlyGroundLayer::init @ 0x1005ebc19 // > GJMGLayer::init @ 0x1005ebd77 // > SecretLayer::init @ 0x1005fa9c7 // > LevelSearchLayer::init @ 0x100627a99 // > SecretRewardsLayer::init @ 0x1006300ba // > cocos2d::CCMenu::initWithArray @ 0x100792f27 // > GraphicsReloadLayer::create @ 0x1007a4f0e // > GraphicsReloadLayer::init @ 0x1007a5011 // > CurrencyRewardLayer::init @ 0x1007a5c50 // > @ 0x1008b0158 // > @ 0x1008b67d0 // > @ 0x1008c0a10 // > @ 0x1008c1b60 // > @ 0x1008da3d0 // > @ 0x1008e5b98 // > @ 0x1008e9e88 // > @ 0x1008efda0 // > @ 0x100906878 // > @ 0x10090bca0 // > @ 0x10090ecb0 // > @ 0x100913748 // > @ 0x10091fcc8 // > @ 0x100926570 // > @ 0x100927210 // > @ 0x10092da10 // > @ 0x100931e38 // > @ 0x100935c80 // > @ 0x100936cf8 // > @ 0x100937288 // > @ 0x100943840 // > @ 0x100948c70 // > @ 0x100949ee8 // > @ 0x10095e878 // > @ 0x100963b68 // > @ 0x100964a40 // > @ 0x1009767b8 // > @ 0x1009790b0 // > @ 0x100979bf0 // > @ 0x1009823c8 // > @ 0x100983878 // > @ 0x100983e00 // > @ 0x100985820 // > @ 0x100990ab0 // > @ 0x1009910f8 // // 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 cocos2d::CCLayer::init(cocos2d::CCLayer *a1) { __int64 v1; // rax cocos2d::CCDirector *v2; // r14 _QWORD v4[4]; // [rsp+0h] [rbp-20h] BYREF double v5; // 0:xmm0_8.8 v4[0] = v1; v2 = cocos2d::CCDirector::sharedDirector(); if ( v2 ) { *(cocos2d::CCSize *)&v5 = cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v4); ((void (__fastcall *)(cocos2d::CCLayer *, _QWORD *, double))a1->setContentSize)(a1, v4, v5); *(_WORD *)&a1->m_bTouchEnabled = 0; } return v2 != nullptr; }
GD Web Decomp Icon

GD Web Decomp

Raw Source