// // GameSettingsLayer::onButtonsPerRow from 0x100166564 to 0x1001665ec (136 bytes) // // 2 xrefs: // > GameSettingsLayer::addSpecialContent @ 0x100165a6c // > GameSettingsLayer::addSpecialContent @ 0x100165b68 // // 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:59:48 +0000 // __int64 __fastcall GameSettingsLayer::onButtonsPerRow(__int64 a1, __int64 a2) { int v3; // w9 int v4; // w8 __int64 v5; // x19 __int64 v6; // x0 __int64 CString; // x1 if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 1 ) v3 = 1; else v3 = -1; v4 = *(_DWORD *)(a1 + 1148) + v3; if ( v4 <= 6 ) v4 = 6; if ( v4 >= 12 ) v4 = 12; *(_DWORD *)(a1 + 1148) = v4; v5 = *(_QWORD *)(a1 + 1160); v6 = sub_1003065B0("%i", v4); CString = cocos2d::CCString::getCString(v6); return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 928LL))(v5, CString); }
GD Web Decomp Icon

GD Web Decomp

Raw Source