{"type": "func", "start": 5370028992, "end": 5370029133, "name": "CustomizeObjectLayer::onBrowse", "pseudocode": "// \n// CustomizeObjectLayer::onBrowse from 0x1401423c0 to 0x14014244d (141 bytes)\n// \n// 2 xrefs:\n// > CustomizeObjectLayer::init @ 0x140141c55\n// > <???> @ 0x140917354\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 11:27:10 +0000\n// \n\n__int64 __fastcall CustomizeObjectLayer::onBrowse(__int64 a1)\n{\n  __int64 v2; // rcx\n  __int64 v3; // rax\n  __int64 v4; // rcx\n  void *v6; // [rsp+30h] [rbp+8h]\n\n  v2 = qword_14090BFD0;\n  if ( !qword_14090BFD0 )\n  {\n    v6 = operator new(0x6E8u);\n    qword_14090BFD0 = GameManager::GameManager(v6);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n    v2 = qword_14090BFD0;\n  }\n  v3 = GJColorSetupLayer::create(*(_QWORD *)(*(_QWORD *)(v2 + 568) + 3528LL));\n  *(_BYTE *)(v3 + 752) = 1;\n  v4 = a1 + 680;\n  if ( !a1 )\n    v4 = 0;\n  *(_QWORD *)(v3 + 760) = v4;\n  return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 1064LL))(v3);\n}", "assembly": "; \n; CustomizeObjectLayer::onBrowse from 0x1401423c0 to 0x14014244d (141 bytes)\n; \n; 2 xrefs:\n; > CustomizeObjectLayer::init @ 0x140141c55\n; > <???> @ 0x140917354\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 11:27:10 +0000\n; \npush    rbx                                                            ; +0x0, 0x1401423c0\nsub     rsp, 20h                                                       ; +0x2, 0x1401423c2\nmov     rbx, rcx                                                       ; +0x6, 0x1401423c6\nmov     rcx, cs:qword_14090BFD0                                        ; +0x9, 0x1401423c9\ntest    rcx, rcx                                                       ; +0x10, 0x1401423d0\njnz     short loc_140142407                                            ; +0x13, 0x1401423d3\nmov     ecx, 6E8h; Size                                                ; +0x15, 0x1401423d5\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1a, 0x1401423da\nmov     [rsp+28h+arg_0], rax                                           ; +0x1f, 0x1401423df\nmov     rcx, rax                                                       ; +0x24, 0x1401423e4\ncall    GameManager__GameManager                                       ; +0x27, 0x1401423e7\nnop                                                                    ; +0x2c, 0x1401423ec\nmov     cs:qword_14090BFD0, rax                                        ; +0x2d, 0x1401423ed\nmov     rcx, [rax]                                                     ; +0x34, 0x1401423f4\nmov     rdx, [rcx+48h]                                                 ; +0x37, 0x1401423f7\nmov     rcx, rax                                                       ; +0x3b, 0x1401423fb\ncall    rdx                                                            ; +0x3e, 0x1401423fe\nmov     rcx, cs:qword_14090BFD0                                        ; +0x40, 0x140142400\nmov     rcx, [rcx+238h]                                                ; +0x47, 0x140142407\nmov     rcx, [rcx+0DC8h]                                               ; +0x4e, 0x14014240e\ncall    GJColorSetupLayer__create                                      ; +0x55, 0x140142415\nmov     byte ptr [rax+2F0h], 1                                         ; +0x5a, 0x14014241a\nlea     rcx, [rbx+2A8h]                                                ; +0x61, 0x140142421\nxor     edx, edx                                                       ; +0x68, 0x140142428\ntest    rbx, rbx                                                       ; +0x6a, 0x14014242a\ncmovz   rcx, rdx                                                       ; +0x6d, 0x14014242d\nmov     [rax+2F8h], rcx                                                ; +0x71, 0x140142431\nmov     rcx, [rax]                                                     ; +0x78, 0x140142438\nmov     rdx, [rcx+428h]                                                ; +0x7b, 0x14014243b\nmov     rcx, rax                                                       ; +0x82, 0x140142442\nadd     rsp, 20h                                                       ; +0x85, 0x140142445\npop     rbx                                                            ; +0x89, 0x140142449\njmp     rdx                                                            ; +0x8a, 0x14014244a", "xrefs": ["CustomizeObjectLayer::init @ 0x140141c55", "<???> @ 0x140917354"], "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"}