{"type": "func", "start": 5369398032, "end": 5369398167, "name": "CustomizeObjectLayer::onBrowse", "pseudocode": "// \n// CustomizeObjectLayer::onBrowse from 0x1400a8310 to 0x1400a8397 (135 bytes)\n// \n// 2 xrefs:\n// > CustomizeObjectLayer::init @ 0x1400a7bed\n// > <???> @ 0x1406c7794\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid CustomizeObjectLayer::onBrowse(CustomizeObjectLayer *a1, cocos2d::CCObject *a2)\n{\n  __int64 v3; // rcx\n  GJColorSetupLayer *v4; // rax\n  ColorSetupDelegate *v5; // rcx\n  void *v6; // [rsp+30h] [rbp+8h]\n\n  v3 = qword_1406C2ED8;\n  if ( !qword_1406C2ED8 )\n  {\n    v6 = operator new(0x668u);\n    qword_1406C2ED8 = sub_14017AB00(v6);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n    v3 = qword_1406C2ED8;\n  }\n  v4 = GJColorSetupLayer::create(*(LevelSettingsObject **)(*(_QWORD *)(v3 + 528) + 3504LL));\n  v4->m_closeOnSelect = 1;\n  v5 = &a1->ColorSetupDelegate;\n  if ( !a1 )\n    v5 = nullptr;\n  v4->m_delegate = v5;\n  v4->show(v4);\n}", "assembly": "; \n; CustomizeObjectLayer::onBrowse from 0x1400a8310 to 0x1400a8397 (135 bytes)\n; \n; 2 xrefs:\n; > CustomizeObjectLayer::init @ 0x1400a7bed\n; > <???> @ 0x1406c7794\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x1400a8310\nsub     rsp, 20h                                                       ; +0x2, 0x1400a8312\nmov     rbx, rcx                                                       ; +0x6, 0x1400a8316\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x9, 0x1400a8319\ntest    rcx, rcx                                                       ; +0x10, 0x1400a8320\njnz     short loc_1400A8354                                            ; +0x13, 0x1400a8323\nmov     ecx, 668h; Size                                                ; +0x15, 0x1400a8325\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1a, 0x1400a832a\nmov     [rsp+28h+arg_0], rax                                           ; +0x1f, 0x1400a832f\nmov     rcx, rax                                                       ; +0x24, 0x1400a8334\ncall    sub_14017AB00                                                  ; +0x27, 0x1400a8337\nnop                                                                    ; +0x2c, 0x1400a833c\nmov     cs:qword_1406C2ED8, rax                                        ; +0x2d, 0x1400a833d\nmov     rdx, [rax]                                                     ; +0x34, 0x1400a8344\nmov     rcx, rax                                                       ; +0x37, 0x1400a8347\ncall    qword ptr [rdx+48h]                                            ; +0x3a, 0x1400a834a\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x3d, 0x1400a834d\nmov     rcx, [rcx+210h]                                                ; +0x44, 0x1400a8354\nmov     rcx, [rcx+0DB0h]                                               ; +0x4b, 0x1400a835b\ncall    GJColorSetupLayer__create                                      ; +0x52, 0x1400a8362\nmov     byte ptr [rax+2D0h], 1                                         ; +0x57, 0x1400a8367\nlea     rcx, [rbx+290h]                                                ; +0x5e, 0x1400a836e\nxor     edx, edx                                                       ; +0x65, 0x1400a8375\ntest    rbx, rbx                                                       ; +0x67, 0x1400a8377\ncmovz   rcx, rdx                                                       ; +0x6a, 0x1400a837a\nmov     [rax+2D8h], rcx                                                ; +0x6e, 0x1400a837e\nmov     rdx, [rax]                                                     ; +0x75, 0x1400a8385\nmov     rcx, rax                                                       ; +0x78, 0x1400a8388\nadd     rsp, 20h                                                       ; +0x7b, 0x1400a838b\npop     rbx                                                            ; +0x7f, 0x1400a838f\njmp     qword ptr [rdx+410h]                                           ; +0x80, 0x1400a8390", "xrefs": ["CustomizeObjectLayer::init @ 0x1400a7bed", "<???> @ 0x1406c7794"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}