// // GameSettingsLayer::onButtonsPerRow from 0xc047ec to 0xc04874 (136 bytes) // // 4 xrefs: // > @ 0xd1da0 // > GameSettingsLayer::addSpecialContent @ 0xc06180 // > GameSettingsLayer::addSpecialContent @ 0xc0627c // > @ 0x1546378 // // 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:03:50 +0000 // __int64 __fastcall GameSettingsLayer::onButtonsPerRow(GameSettingsLayer *this, cocos2d::CCObject *a2) { int v3; // w0 int v4; // w1 unsigned __int64 v5; // x1 __int64 v6; // x20 __int64 (__fastcall *v7)(__int64, __int64); // x19 cocos2d::CCString *v8; // x0 __int64 CString; // x0 v3 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2); v4 = *((_DWORD *)this + 287); if ( v3 == 1 ) LODWORD(v5) = v4 + 1; else LODWORD(v5) = v4 - 1; if ( (int)v5 < 6 ) LODWORD(v5) = 6; v6 = *((_QWORD *)this + 145); if ( (int)v5 > 12 ) v5 = 12; else v5 = (unsigned int)v5; *((_DWORD *)this + 287) = v5; v7 = *(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 928LL); v8 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)v5); CString = cocos2d::CCString::getCString(v8); return v7(v6, CString); }
GD Web Decomp Icon

GD Web Decomp

Raw Source