{"type": "func", "start": 4295022480, "end": 4295022582, "name": "EditorUI::getButton", "pseudocode": "// \n// EditorUI::getButton from 0x10000d790 to 0x10000d7f6 (102 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:18:50 +0000\n// \n\n__int64 __fastcall EditorUI::getButton(__int64 a1, __int64 a2, unsigned int a3, __int64 a4, __int64 a5, _QWORD *a6)\n{\n  __int64 v9; // rax\n  __int64 result; // rax\n  __int64 v11; // rcx\n  _QWORD *v12; // rdi\n  __int64 v13; // rbx\n\n  v9 = sub_100059E30(a2, a3, 0, 1, 1.0);\n  result = CCMenuItemSpriteExtra::create(v9, 0, a1, a4, a5);\n  if ( a6 )\n  {\n    v11 = *a6;\n    v12 = a6;\n    v13 = result;\n    (*(void (__fastcall **)(_QWORD *, __int64))(v11 + 456))(v12, result);\n    return v13;\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::getButton from 0x10000d790 to 0x10000d7f6 (102 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:18:50 +0000\n; \npush    rbp                                                            ; +0x0, 0x10000d790\nmov     rbp, rsp                                                       ; +0x1, 0x10000d791\npush    r15                                                            ; +0x4, 0x10000d794\npush    r14                                                            ; +0x6, 0x10000d796\npush    r12                                                            ; +0x8, 0x10000d798\npush    rbx                                                            ; +0xa, 0x10000d79a\nmov     rbx, r9                                                        ; +0xb, 0x10000d79b\nmov     r14, r8                                                        ; +0xe, 0x10000d79e\nmov     r15, rcx                                                       ; +0x11, 0x10000d7a1\nmov     r12, rdi                                                       ; +0x14, 0x10000d7a4\nmovss   xmm0, cs:alpha                                                 ; +0x17, 0x10000d7a7\nmov     rdi, rsi                                                       ; +0x1f, 0x10000d7af\nmov     esi, edx                                                       ; +0x22, 0x10000d7b2\nxor     edx, edx                                                       ; +0x24, 0x10000d7b4\nmov     ecx, 1                                                         ; +0x26, 0x10000d7b6\ncall    sub_100059E30                                                  ; +0x2b, 0x10000d7bb\nmov     rdi, rax                                                       ; +0x30, 0x10000d7c0\nxor     esi, esi                                                       ; +0x33, 0x10000d7c3\nmov     rdx, r12                                                       ; +0x35, 0x10000d7c5\nmov     rcx, r15                                                       ; +0x38, 0x10000d7c8\nmov     r8, r14                                                        ; +0x3b, 0x10000d7cb\ncall    CCMenuItemSpriteExtra__create                                  ; +0x3e, 0x10000d7ce\ntest    rbx, rbx                                                       ; +0x43, 0x10000d7d3\njz      short loc_10000D7ED                                            ; +0x46, 0x10000d7d6\nmov     rcx, [rbx]                                                     ; +0x48, 0x10000d7d8\nmov     rdi, rbx                                                       ; +0x4b, 0x10000d7db\nmov     rsi, rax                                                       ; +0x4e, 0x10000d7de\nmov     rbx, rax                                                       ; +0x51, 0x10000d7e1\ncall    qword ptr [rcx+1C8h]                                           ; +0x54, 0x10000d7e4\nmov     rax, rbx                                                       ; +0x5a, 0x10000d7ea\npop     rbx                                                            ; +0x5d, 0x10000d7ed\npop     r12                                                            ; +0x5e, 0x10000d7ee\npop     r14                                                            ; +0x60, 0x10000d7f0\npop     r15                                                            ; +0x62, 0x10000d7f2\npop     rbp                                                            ; +0x64, 0x10000d7f4\nretn                                                                   ; +0x65, 0x10000d7f5", "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"}