// // GameToolbox::addBackButton from 0x3cd60c to 0x3cd6a2 (150 bytes) // // 23 xrefs: // > CreatorLayer::init @ 0x494bd2 // > LevelSearchLayer::init @ 0x4994f2 // > LevelInfoLayer::init @ 0x49e81c // > EditLevelLayer::init @ 0x4a1eb2 // > LevelBrowserLayer::init @ 0x4a7ea0 // > GJGarageLayer::init @ 0x510f78 // > LevelSelectLayer::init @ 0x512d7c // > GJDropDownLayer::init @ 0x52c038 // > LeaderboardsLayer::init @ 0x56417a // > SecretLayer::init @ 0x5ff0a8 // > GauntletSelectLayer::init @ 0x60d48a // > GauntletLayer::init @ 0x60efee // > GJShopLayer::init @ 0x613136 // > SecretLayer2::init @ 0x61f7e4 // > SecretLayer3::init @ 0x620ac6 // > SecretLayer4::init @ 0x623150 // > WorldSelectLayer::init @ 0x62e554 // > LevelAreaLayer::init @ 0x6a4b46 // > LevelAreaInnerLayer::init @ 0x6a540e // > SecretRewardsLayer::init @ 0x6ce28e // > LevelListLayer::init @ 0x6d9582 // > SecretLayer5::init @ 0x6e5f84 // > SecretLayer6::init @ 0x6e67a4 // // 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:38 +0000 // int __fastcall GameToolbox::addBackButton(GameToolbox *this, cocos2d::CCLayer *a2, cocos2d::CCMenuItem *a3) { int v5; // r4 const cocos2d::CCPoint *v6; // r8 void (__fastcall *v7)(int, _BYTE *); // r9 _BYTE v9[8]; // [sp+4h] [bp-20h] BYREF _BYTE v10[8]; // [sp+Ch] [bp-18h] BYREF _BYTE v11[8]; // [sp+14h] [bp-10h] BYREF v5 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"controllerBtn_B_001.png", (const char *)a2); (*(void (__fastcall **)(GameToolbox *, int))(*(_DWORD *)this + 228))(this, v5); v6 = (const cocos2d::CCPoint *)(*(int (__fastcall **)(cocos2d::CCLayer *))(*(_DWORD *)a2 + 256))(a2); (*(void (__fastcall **)(cocos2d::CCLayer *))(*(_DWORD *)a2 + 96))(a2); cocos2d::CCNode::convertToWorldSpace((cocos2d::CCNode *)v11, v6); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v9, this); v7 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v5 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v10, 28.0, 10.0); cocos2d::CCPoint::operator+(v11, v9, v10); v7(v5, v11); return (*(int (__fastcall **)(int, int))(*(_DWORD *)v5 + 80))(v5, 1060320051); }
GD Web Decomp Icon

GD Web Decomp

Raw Source