{"type": "func", "start": 4297625184, "end": 4297625292, "name": "EditorOptionsLayer::onButtonRows", "pseudocode": "// \n// EditorOptionsLayer::onButtonRows from 0x100288e60 to 0x100288ecc (108 bytes)\n// \n// 2 xrefs:\n// > EditorOptionsLayer::setupOptions @ 0x100288c58\n// > EditorOptionsLayer::setupOptions @ 0x100288d2e\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:27:46 +0000\n// \n\n__int64 __fastcall EditorOptionsLayer::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 + 1124) = (*(_DWORD *)(a1 + 1124)\n                          + 2 * ((*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 1)\n                          - 1 < 3)\n                         ^ 3;\n  v3 = *(_QWORD *)(a1 + 1136);\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; EditorOptionsLayer::onButtonRows from 0x100288e60 to 0x100288ecc (108 bytes)\n; \n; 2 xrefs:\n; > EditorOptionsLayer::setupOptions @ 0x100288c58\n; > EditorOptionsLayer::setupOptions @ 0x100288d2e\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:27:46 +0000\n; \npush    rbp                                                            ; +0x0, 0x100288e60\nmov     rbp, rsp                                                       ; +0x1, 0x100288e61\npush    rbx                                                            ; +0x4, 0x100288e64\npush    rax; char                                                      ; +0x5, 0x100288e65\nmov     rbx, rdi                                                       ; +0x6, 0x100288e66\nmov     rax, [rsi]                                                     ; +0x9, 0x100288e69\nmov     rdi, rsi                                                       ; +0xc, 0x100288e6c\ncall    qword ptr [rax+40h]                                            ; +0xf, 0x100288e6f\nxor     ecx, ecx                                                       ; +0x12, 0x100288e72\ncmp     eax, 1                                                         ; +0x14, 0x100288e74\nsetz    cl                                                             ; +0x17, 0x100288e77\nmov     eax, [rbx+464h]                                                ; +0x1a, 0x100288e7a\nlea     eax, [rax+rcx*2]                                               ; +0x20, 0x100288e80\ndec     eax                                                            ; +0x23, 0x100288e83\nxor     esi, esi                                                       ; +0x25, 0x100288e85\ncmp     eax, 3                                                         ; +0x27, 0x100288e87\nsetl    sil                                                            ; +0x2a, 0x100288e8a\nxor     esi, 3                                                         ; +0x2e, 0x100288e8e\nmov     [rbx+464h], esi                                                ; +0x31, 0x100288e91\nmov     rbx, [rbx+470h]                                                ; +0x37, 0x100288e97\nlea     rdi, aI_14; \"%i\"                                               ; +0x3e, 0x100288e9e\nxor     eax, eax                                                       ; +0x45, 0x100288ea5\ncall    sub_10088E820                                                  ; +0x47, 0x100288ea7\nmov     rdi, rax                                                       ; +0x4c, 0x100288eac\ncall    cocos2d__CCString__getCString                                  ; +0x4f, 0x100288eaf\nmov     rcx, [rbx]                                                     ; +0x54, 0x100288eb4\nmov     rcx, [rcx+3A0h]                                                ; +0x57, 0x100288eb7\nmov     rdi, rbx                                                       ; +0x5e, 0x100288ebe\nmov     rsi, rax                                                       ; +0x61, 0x100288ec1\nadd     rsp, 8                                                         ; +0x64, 0x100288ec4\npop     rbx                                                            ; +0x68, 0x100288ec8\npop     rbp                                                            ; +0x69, 0x100288ec9\njmp     rcx                                                            ; +0x6a, 0x100288eca", "xrefs": ["EditorOptionsLayer::setupOptions @ 0x100288c58", "EditorOptionsLayer::setupOptions @ 0x100288d2e"], "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"}