{"type": "func", "start": 4296913328, "end": 4296913451, "name": "CustomizeObjectLayer::getButtonByTag", "pseudocode": "// \n// CustomizeObjectLayer::getButtonByTag from 0x1001db1b0 to 0x1001db22b (123 bytes)\n// \n// 0 xrefs:\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:26:26 +0000\n// \n\n__int64 __fastcall CustomizeObjectLayer::getButtonByTag(__int64 a1, int a2)\n{\n  __int64 v2; // rbx\n  unsigned int v3; // r12d\n  __int64 v4; // r13\n\n  v2 = 0;\n  if ( (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 704)) )\n  {\n    v3 = 0;\n    while ( 1 )\n    {\n      v4 = sub_1007FEFE0(*(_QWORD *)(a1 + 704), v3);\n      if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)v4 + 64LL))(v4) == a2 )\n        break;\n      if ( ++v3 >= (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 704)) )\n        return v2;\n    }\n    return v4;\n  }\n  return v2;\n}", "assembly": "; \n; CustomizeObjectLayer::getButtonByTag from 0x1001db1b0 to 0x1001db22b (123 bytes)\n; \n; 0 xrefs:\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:26:26 +0000\n; \npush    rbp                                                            ; +0x0, 0x1001db1b0\nmov     rbp, rsp                                                       ; +0x1, 0x1001db1b1\npush    r15                                                            ; +0x4, 0x1001db1b4\npush    r14                                                            ; +0x6, 0x1001db1b6\npush    r13                                                            ; +0x8, 0x1001db1b8\npush    r12                                                            ; +0xa, 0x1001db1ba\npush    rbx                                                            ; +0xc, 0x1001db1bc\npush    rax                                                            ; +0xd, 0x1001db1bd\nmov     r14d, esi                                                      ; +0xe, 0x1001db1be\nmov     r15, rdi                                                       ; +0x11, 0x1001db1c1\nmov     rdi, [rdi+2C0h]                                                ; +0x14, 0x1001db1c4\ncall    sub_1007FEF90                                                  ; +0x1b, 0x1001db1cb\nxor     ebx, ebx                                                       ; +0x20, 0x1001db1d0\ntest    eax, eax                                                       ; +0x22, 0x1001db1d2\njz      short loc_1001DB219                                            ; +0x24, 0x1001db1d4\nxor     r12d, r12d                                                     ; +0x26, 0x1001db1d6\nnop     dword ptr [rax+00000000h]                                      ; +0x29, 0x1001db1d9\nmov     rdi, [r15+2C0h]                                                ; +0x30, 0x1001db1e0\nmov     esi, r12d                                                      ; +0x37, 0x1001db1e7\ncall    sub_1007FEFE0                                                  ; +0x3a, 0x1001db1ea\nmov     r13, rax                                                       ; +0x3f, 0x1001db1ef\nmov     rax, [rax]                                                     ; +0x42, 0x1001db1f2\nmov     rdi, r13                                                       ; +0x45, 0x1001db1f5\ncall    qword ptr [rax+40h]                                            ; +0x48, 0x1001db1f8\ncmp     eax, r14d                                                      ; +0x4b, 0x1001db1fb\njz      short loc_1001DB216                                            ; +0x4e, 0x1001db1fe\ninc     r12d                                                           ; +0x50, 0x1001db200\nmov     rdi, [r15+2C0h]                                                ; +0x53, 0x1001db203\ncall    sub_1007FEF90                                                  ; +0x5a, 0x1001db20a\ncmp     r12d, eax                                                      ; +0x5f, 0x1001db20f\njb      short loc_1001DB1E0                                            ; +0x62, 0x1001db212\njmp     short loc_1001DB219                                            ; +0x64, 0x1001db214\nmov     rbx, r13                                                       ; +0x66, 0x1001db216\nmov     rax, rbx                                                       ; +0x69, 0x1001db219\nadd     rsp, 8                                                         ; +0x6c, 0x1001db21c\npop     rbx                                                            ; +0x70, 0x1001db220\npop     r12                                                            ; +0x71, 0x1001db221\npop     r13                                                            ; +0x73, 0x1001db223\npop     r14                                                            ; +0x75, 0x1001db225\npop     r15                                                            ; +0x77, 0x1001db227\npop     rbp                                                            ; +0x79, 0x1001db229\nretn                                                                   ; +0x7a, 0x1001db22a", "xrefs": [], "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"}