// // GameToolbox::addBackButton from 0x100049d40 to 0x100049e24 (228 bytes) // // 21 xrefs: // > LevelInfoLayer::init @ 0x100029994 // > LevelSearchLayer::init @ 0x10005b53c // > SecretLayer5::init @ 0x10007cce4 // > CreatorLayer::init @ 0x1000db638 // > EditLevelLayer::init @ 0x10010ffb4 // > GJShopLayer::init @ 0x1001c98b4 // > GauntletSelectLayer::init @ 0x1002548d4 // > GauntletLayer::init @ 0x1002ce6f4 // > LevelListLayer::init @ 0x1002e1930 // > SecretRewardsLayer::init @ 0x100383590 // > GJGarageLayer::init @ 0x10039fe30 // > SecretLayer2::init @ 0x1003a6b98 // > SecretLayer3::init @ 0x1003abbac // > LevelAreaLayer::init @ 0x1003e2474 // > LevelAreaInnerLayer::init @ 0x1003e4014 // > SecretLayer4::init @ 0x1003f3e2c // > LeaderboardsLayer::init @ 0x100457db8 // > GJDropDownLayer::init @ 0x1004595f4 // > SecretLayer::init @ 0x100464744 // > LevelSelectLayer::init @ 0x100482ae8 // > LevelBrowserLayer::init @ 0x100496b6c // // This function is hookable on this platform (idp: arm, 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 10:57:40 +0000 // __int64 __fastcall GameToolbox::addBackButton(__int64 a1, __int64 a2) { __int64 v4; // x19 __int64 v5; // x22 __int64 v6; // x0 __n128 v7; // q0 double v8; // d0 float32x2_t v10; // [xsp+8h] [xbp-38h] BYREF float32x2_t v11; // [xsp+10h] [xbp-30h] BYREF float32x2_t v12; // [xsp+18h] [xbp-28h] BYREF v4 = cocos2d::CCSprite::createWithSpriteFrameName("controllerBtn_B_001.png"); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 456LL))(a1, v4); v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 512LL))(a2); v6 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 192LL))(a2); cocos2d::CCNode::convertToWorldSpace(&v11, v5, v6); cocos2d::CCNode::convertToNodeSpace(&v12, a1, &v11, v7); sub_1000262BC((float *)&v10, 28.0, 10.0); *(float32x2_t *)&v8 = sub_100026318(&v12, &v10, &v11); (*(void (__fastcall **)(__int64, float32x2_t *, double))(*(_QWORD *)v4 + 184LL))(v4, &v11, v8); return (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)v4 + 160LL))(v4, 0.7); }
GD Web Decomp Icon

GD Web Decomp

Raw Source