{"type": "func", "start": 4301268416, "end": 4301268524, "name": "GameSettingsLayer::onButtonRows", "pseudocode": "// \n// GameSettingsLayer::onButtonRows from 0x1006025c0 to 0x10060262c (108 bytes)\n// \n// 2 xrefs:\n// > GameSettingsLayer::addSpecialContent @ 0x1006014a9\n// > GameSettingsLayer::addSpecialContent @ 0x1006015a0\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:34:31 +0000\n// \n\n__int64 __fastcall GameSettingsLayer::onButtonRows(__int64 a1, __int64 a2)\n{\n  char v2; // al\n  __int64 v3; // rbx\n  __int64 v4; // rax\n  __int64 CString; // rax\n  char v7; // [rsp-8h] [rbp-10h]\n\n  v7 = v2;\n  *(_DWORD *)(a1 + 1152) = (*(_DWORD *)(a1 + 1152)\n                          + 2 * ((*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 1)\n                          - 1 < 3)\n                         ^ 3;\n  v3 = *(_QWORD *)(a1 + 1168);\n  v4 = sub_10088E820(\"%i\", v7);\n  CString = cocos2d::CCString::getCString(v4);\n  return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 928LL))(v3, CString);\n}", "assembly": "; \n; GameSettingsLayer::onButtonRows from 0x1006025c0 to 0x10060262c (108 bytes)\n; \n; 2 xrefs:\n; > GameSettingsLayer::addSpecialContent @ 0x1006014a9\n; > GameSettingsLayer::addSpecialContent @ 0x1006015a0\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:34:31 +0000\n; \npush    rbp                                                            ; +0x0, 0x1006025c0\nmov     rbp, rsp                                                       ; +0x1, 0x1006025c1\npush    rbx                                                            ; +0x4, 0x1006025c4\npush    rax; char                                                      ; +0x5, 0x1006025c5\nmov     rbx, rdi                                                       ; +0x6, 0x1006025c6\nmov     rax, [rsi]                                                     ; +0x9, 0x1006025c9\nmov     rdi, rsi                                                       ; +0xc, 0x1006025cc\ncall    qword ptr [rax+40h]                                            ; +0xf, 0x1006025cf\nxor     ecx, ecx                                                       ; +0x12, 0x1006025d2\ncmp     eax, 1                                                         ; +0x14, 0x1006025d4\nsetz    cl                                                             ; +0x17, 0x1006025d7\nmov     eax, [rbx+480h]                                                ; +0x1a, 0x1006025da\nlea     eax, [rax+rcx*2]                                               ; +0x20, 0x1006025e0\ndec     eax                                                            ; +0x23, 0x1006025e3\nxor     esi, esi                                                       ; +0x25, 0x1006025e5\ncmp     eax, 3                                                         ; +0x27, 0x1006025e7\nsetl    sil                                                            ; +0x2a, 0x1006025ea\nxor     esi, 3                                                         ; +0x2e, 0x1006025ee\nmov     [rbx+480h], esi                                                ; +0x31, 0x1006025f1\nmov     rbx, [rbx+490h]                                                ; +0x37, 0x1006025f7\nlea     rdi, aI_14; \"%i\"                                               ; +0x3e, 0x1006025fe\nxor     eax, eax                                                       ; +0x45, 0x100602605\ncall    sub_10088E820                                                  ; +0x47, 0x100602607\nmov     rdi, rax                                                       ; +0x4c, 0x10060260c\ncall    cocos2d__CCString__getCString                                  ; +0x4f, 0x10060260f\nmov     rcx, [rbx]                                                     ; +0x54, 0x100602614\nmov     rcx, [rcx+3A0h]                                                ; +0x57, 0x100602617\nmov     rdi, rbx                                                       ; +0x5e, 0x10060261e\nmov     rsi, rax                                                       ; +0x61, 0x100602621\nadd     rsp, 8                                                         ; +0x64, 0x100602624\npop     rbx                                                            ; +0x68, 0x100602628\npop     rbp                                                            ; +0x69, 0x100602629\njmp     rcx                                                            ; +0x6a, 0x10060262a", "xrefs": ["GameSettingsLayer::addSpecialContent @ 0x1006014a9", "GameSettingsLayer::addSpecialContent @ 0x1006015a0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}