// // GameSettingsLayer::onButtonRows from 0x1402c6690 to 0x1402c6715 (133 bytes) // // 3 xrefs: // > GameSettingsLayer::addSpecialContent @ 0x1402c63ba // > GameSettingsLayer::addSpecialContent @ 0x1402c64b8 // > @ 0x14091dbc4 // // This function is hookable on this platform (idp: pc, 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 11:29:22 +0000 // __int64 __fastcall GameSettingsLayer::onButtonRows(__int64 a1, __int64 a2) { int v3; // eax int v4; // edx int v5; // edx __int64 v6; // rdi __int64 (__fastcall **v7)(__int64, const char *); // rbx cocos2d::CCString *v8; // rax const char *CString; // rax v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2); v4 = 1; if ( v3 != 1 ) v4 = -1; v5 = *(_DWORD *)(a1 + 1160) + v4; if ( v5 < 2 ) { v5 = 2; } else if ( v5 >= 3 ) { v5 = 3; } v6 = *(_QWORD *)(a1 + 1176); *(_DWORD *)(a1 + 1160) = v5; v7 = *(__int64 (__fastcall ***)(__int64, const char *))(v6 + 360); v8 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8); CString = cocos2d::CCString::getCString(v8); return (*v7)(v6 + 360, CString); }
GD Web Decomp Icon

GD Web Decomp

Raw Source