// // LevelBindingsLayer::setupTabs from 0xcf1290 to 0xcf13e8 (344 bytes) // // 2 xrefs: // > @ 0x659c8 // > @ 0x15041b8 // // 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 13:06:45 +0000 // __int64 __fastcall LevelBindingsLayer::setupTabs(LevelBindingsLayer *this) { cocos2d::CCDirector *v2; // x0 cocos2d::CCDirector *v3; // x0 const char *v4; // x2 char *v5; // x0 __int64 v6; // x20 void (__fastcall *v7)(__int64, _BYTE *); // x22 __int64 v9; // [xsp+40h] [xbp+40h] BYREF _BYTE v10[8]; // [xsp+48h] [xbp+48h] BYREF cocos2d::CCDirector *v11[2]; // [xsp+50h] [xbp+50h] BYREF void *v12; // [xsp+60h] [xbp+60h] v11[0] = nullptr; v11[1] = nullptr; v12 = nullptr; std::string::__init((__int64 *)v11, "Bindings", 8u); TabbedPopupLayer::addTab((__int64)this, (char *)v11, nullptr); v2 = (cocos2d::CCDirector *)LOBYTE(v11[0]); if ( ((__int64)v11[0] & 1) != 0 ) operator delete(v12); v3 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v2); cocos2d::CCDirector::getWinSize(&v9, v3); if ( *((_BYTE *)this + 1200) ) v5 = "Custom Controller Controls"; else v5 = "Custom Keyboard Controls"; v6 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)v5, "goldFont.fnt", v4); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v6 + 160LL))(v6, 0.6); v7 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v6 + 184LL); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v10, *(float *)&v9 * 0.5, (float)((float)(*((float *)this + 184) * 0.5) + (float)(*((float *)&v9 + 1) * 0.5)) - 22.0); v7(v6, v10); (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 73) + 456LL))(*((_QWORD *)this + 73), v6); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source