// // GameToolbox::addRThumbScrollButton from 0x100049e24 to 0x100049fd4 (432 bytes) // // 2 xrefs: // > LevelBrowserLayer::init @ 0x100496b74 // > AchievementsLayer::customSetup @ 0x1004a4550 // // 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::addRThumbScrollButton(__int64 a1) { __int64 v2; // x0 __int64 v3; // x20 __int64 v4; // x0 __int64 v5; // x0 double v6; // d0 __int64 v7; // x21 float32x2_t *v8; // x22 double v9; // d0 __int64 v10; // x21 float32x2_t *v11; // x19 double v12; // d0 float32x2_t v14; // [xsp+8h] [xbp-48h] BYREF float32x2_t v15; // [xsp+10h] [xbp-40h] BYREF __int64 v16; // [xsp+18h] [xbp-38h] BYREF v2 = cocos2d::CCDirector::sharedDirector(a1); cocos2d::CCDirector::getWinSize(&v16, v2); v3 = cocos2d::CCSprite::createWithSpriteFrameName("controllerBtn_RThumb_001.png"); v4 = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 456LL))(a1, v3); v5 = cocos2d::CCDirector::sharedDirector(v4); v6 = sub_100207EB0(v5); sub_1000262BC((float *)&v15, *(float *)&v6 + -24.0, (float)(*((float *)&v16 + 1) * 0.5) + 80.0); (*(void (__fastcall **)(__int64, float32x2_t *))(*(_QWORD *)v3 + 184LL))(v3, &v15); v7 = cocos2d::CCSprite::createWithSpriteFrameName("edit_upBtn_001.png"); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 456LL))(a1, v7); v8 = (float32x2_t *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 192LL))(v3); sub_1000262BC((float *)&v14, 0.0, 22.0); *(float32x2_t *)&v9 = sub_100026318(v8, &v14, &v15); (*(void (__fastcall **)(__int64, float32x2_t *, double))(*(_QWORD *)v7 + 184LL))(v7, &v15, v9); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v7 + 160LL))(v7, 0.7); v10 = cocos2d::CCSprite::createWithSpriteFrameName("edit_downBtn_001.png"); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 456LL))(a1, v10); v11 = (float32x2_t *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 192LL))(v3); sub_1000262BC((float *)&v14, 0.0, -22.0); *(float32x2_t *)&v12 = sub_100026318(v11, &v14, &v15); (*(void (__fastcall **)(__int64, float32x2_t *, double))(*(_QWORD *)v10 + 184LL))(v10, &v15, v12); return (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)v10 + 160LL))(v10, 0.7); }
GD Web Decomp Icon

GD Web Decomp

Raw Source