// // GameToolbox::addBackButton from 0x14006f020 to 0x14006f0f2 (210 bytes) // // 22 xrefs: // > CreatorLayer::init @ 0x140136975 // > EditLevelLayer::init @ 0x140179a63 // > GauntletLayer::init @ 0x1402fb300 // > GauntletSelectLayer::init @ 0x1402fe231 // > GJDropDownLayer::init @ 0x14035fd7a // > GJGarageLayer::init @ 0x14037d211 // > GJShopLayer::init @ 0x1403b0e3f // > LeaderboardsLayer::init @ 0x1403db7c5 // > LevelAreaLayer::init @ 0x1403dd8ad // > LevelAreaInnerLayer::init @ 0x1403df9bd // > LevelBrowserLayer::init @ 0x1403e3fa2 // > LevelInfoLayer::init @ 0x14041e5e1 // > LevelListLayer::init @ 0x14042ce09 // > LevelSearchLayer::init @ 0x140436084 // > LevelSelectLayer::init @ 0x14044250b // > SecretRewardsLayer::init @ 0x140568602 // > SecretLayer::init @ 0x1405737cc // > SecretLayer2::init @ 0x140578c33 // > SecretLayer3::init @ 0x14058110c // > SecretLayer4::init @ 0x1405860c0 // > SecretLayer5::init @ 0x140589e6e // > @ 0x140911744 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // 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:25:49 +0000 // __int64 __fastcall GameToolbox::addBackButton(__int64 a1, __int64 a2) { struct cocos2d::CCSprite *v4; // r15 __int64 (__fastcall *v5)(__int64); // rdi __int64 v6; // rbx __int64 v7; // rax __int64 v8; // rax __int64 v9; // rax char v11; // [rsp+50h] [rbp+8h] BYREF char v12; // [rsp+58h] [rbp+10h] BYREF char v13; // [rsp+60h] [rbp+18h] BYREF v4 = cocos2d::CCSprite::createWithSpriteFrameName("controllerBtn_B_001.png"); (*(void (__fastcall **)(__int64, struct cocos2d::CCSprite *))(*(_QWORD *)a1 + 464LL))(a1, v4); v5 = *(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 504LL); v6 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 200LL))(a2); v7 = v5(a2); cocos2d::CCNode::convertToWorldSpace(v7, &v12, v6); cocos2d::CCNode::convertToNodeSpace(a1, &v11, v8); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v13, 28.0, 10.0); cocos2d::CCPoint::operator+(&v11, &v12, v9); (*(void (__fastcall **)(struct cocos2d::CCSprite *, char *))(*(_QWORD *)v4 + 184LL))(v4, &v12); return (*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v4 + 160LL))(v4); }
GD Web Decomp Icon

GD Web Decomp

Raw Source