// // LevelBindingsLayer::setupTabs from 0x797bb8 to 0x797c88 (208 bytes) // // 0 xrefs: // // 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:59:46 +0000 // int __fastcall LevelBindingsLayer::setupTabs(LevelBindingsLayer *this) { cocos2d::CCDirector *v2; // r0 const char *v3; // r2 char *v4; // r0 int v5; // r4 void (__fastcall *v6)(int, _BYTE *); // r8 float v8[2]; // [sp+0h] [bp-20h] BYREF _BYTE v9[8]; // [sp+8h] [bp-18h] BYREF int v10[3]; // [sp+10h] [bp-10h] BYREF memset(v10, 0, sizeof(v10)); std::string::__init(v10, "Bindings", 8u); TabbedPopupLayer::addTab((int)this, v10, nullptr); v2 = (cocos2d::CCDirector *)std::string::~string((int)v10); cocos2d::CCDirector::sharedDirector(v2); cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v8); if ( *((_BYTE *)this + 808) ) v4 = "Custom Controller Controls"; else v4 = "Custom Keyboard Controls"; v5 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)v4, "goldFont.fnt", v3); (*(void (__fastcall **)(int, int))(*(_DWORD *)v5 + 80))(v5, 1058642330); v6 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v5 + 92); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v9, v8[0] * 0.5, (float)((float)(*((float *)this + 140) * 0.5) + (float)(v8[1] * 0.5)) - 22.0); v6(v5, v9); return (*(int (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 115) + 228))(*((_DWORD *)this + 115), v5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source