{"type": "func", "start": 4300822128, "end": 4300822207, "name": "ColorSelectLiveOverlay::createWithObject", "pseudocode": "// \n// ColorSelectLiveOverlay::createWithObject from 0x100595670 to 0x1005956bf (79 bytes)\n// \n// 1 xrefs:\n// > EditorUI::editColor @ 0x100019aa5\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:32:28 +0000\n// \n\nvoid *__fastcall ColorSelectLiveOverlay::createWithObject(__int64 a1)\n{\n  void *v1; // rbx\n\n  v1 = operator new(0x360u);\n  ColorSelectLiveOverlay::ColorSelectLiveOverlay(v1);\n  if ( (unsigned __int8)ColorSelectLiveOverlay::init(v1, 0, 0, a1) )\n  {\n    cocos2d::CCObject::autorelease((__int64)v1);\n  }\n  else\n  {\n    (*(void (__fastcall **)(void *))(*(_QWORD *)v1 + 16LL))(v1);\n    return nullptr;\n  }\n  return v1;\n}", "assembly": "; \n; ColorSelectLiveOverlay::createWithObject from 0x100595670 to 0x1005956bf (79 bytes)\n; \n; 1 xrefs:\n; > EditorUI::editColor @ 0x100019aa5\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:32:28 +0000\n; \npush    rbp                                                            ; +0x0, 0x100595670\nmov     rbp, rsp                                                       ; +0x1, 0x100595671\npush    r14                                                            ; +0x4, 0x100595674\npush    rbx                                                            ; +0x6, 0x100595676\nmov     r14, rdi                                                       ; +0x7, 0x100595677\nmov     edi, 360h; __sz                                                ; +0xa, 0x10059567a\ncall    __Znwm; operator new(ulong)                                    ; +0xf, 0x10059567f\nmov     rbx, rax                                                       ; +0x14, 0x100595684\nmov     rdi, rax                                                       ; +0x17, 0x100595687\ncall    ColorSelectLiveOverlay__ColorSelectLiveOverlay                 ; +0x1a, 0x10059568a\nmov     rdi, rbx                                                       ; +0x1f, 0x10059568f\nxor     esi, esi                                                       ; +0x22, 0x100595692\nxor     edx, edx                                                       ; +0x24, 0x100595694\nmov     rcx, r14                                                       ; +0x26, 0x100595696\ncall    ColorSelectLiveOverlay__init                                   ; +0x29, 0x100595699\ntest    al, al                                                         ; +0x2e, 0x10059569e\njz      short loc_1005956AC                                            ; +0x30, 0x1005956a0\nmov     rdi, rbx                                                       ; +0x32, 0x1005956a2\ncall    cocos2d__CCObject__autorelease                                 ; +0x35, 0x1005956a5\njmp     short loc_1005956B7                                            ; +0x3a, 0x1005956aa\nmov     rax, [rbx]                                                     ; +0x3c, 0x1005956ac\nmov     rdi, rbx                                                       ; +0x3f, 0x1005956af\ncall    qword ptr [rax+10h]                                            ; +0x42, 0x1005956b2\nxor     ebx, ebx                                                       ; +0x45, 0x1005956b5\nmov     rax, rbx                                                       ; +0x47, 0x1005956b7\npop     rbx                                                            ; +0x4a, 0x1005956ba\npop     r14                                                            ; +0x4b, 0x1005956bb\npop     rbp                                                            ; +0x4d, 0x1005956bd\nretn                                                                   ; +0x4e, 0x1005956be", "xrefs": ["EditorUI::editColor @ 0x100019aa5"], "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"}