{"type": "func", "start": 4300822240, "end": 4300822335, "name": "ColorSelectLiveOverlay::create", "pseudocode": "// \n// ColorSelectLiveOverlay::create from 0x1005956e0 to 0x10059573f (95 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:32:28 +0000\n// \n\nvoid *__fastcall ColorSelectLiveOverlay::create(__int64 a1, __int64 a2, __int64 a3)\n{\n  void *v4; // rbx\n\n  v4 = operator new(0x360u);\n  ColorSelectLiveOverlay::ColorSelectLiveOverlay(v4);\n  if ( (unsigned __int8)ColorSelectLiveOverlay::init(v4, a1, a2, a3) )\n  {\n    cocos2d::CCObject::autorelease((__int64)v4);\n  }\n  else\n  {\n    (*(void (__fastcall **)(void *))(*(_QWORD *)v4 + 16LL))(v4);\n    return nullptr;\n  }\n  return v4;\n}", "assembly": "; \n; ColorSelectLiveOverlay::create from 0x1005956e0 to 0x10059573f (95 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:32:28 +0000\n; \npush    rbp                                                            ; +0x0, 0x1005956e0\nmov     rbp, rsp                                                       ; +0x1, 0x1005956e1\npush    r15                                                            ; +0x4, 0x1005956e4\npush    r14                                                            ; +0x6, 0x1005956e6\npush    r12                                                            ; +0x8, 0x1005956e8\npush    rbx                                                            ; +0xa, 0x1005956ea\nmov     r14, rdx                                                       ; +0xb, 0x1005956eb\nmov     r15, rsi                                                       ; +0xe, 0x1005956ee\nmov     r12, rdi                                                       ; +0x11, 0x1005956f1\nmov     edi, 360h; __sz                                                ; +0x14, 0x1005956f4\ncall    __Znwm; operator new(ulong)                                    ; +0x19, 0x1005956f9\nmov     rbx, rax                                                       ; +0x1e, 0x1005956fe\nmov     rdi, rax                                                       ; +0x21, 0x100595701\ncall    ColorSelectLiveOverlay__ColorSelectLiveOverlay                 ; +0x24, 0x100595704\nmov     rdi, rbx                                                       ; +0x29, 0x100595709\nmov     rsi, r12                                                       ; +0x2c, 0x10059570c\nmov     rdx, r15                                                       ; +0x2f, 0x10059570f\nmov     rcx, r14                                                       ; +0x32, 0x100595712\ncall    ColorSelectLiveOverlay__init                                   ; +0x35, 0x100595715\ntest    al, al                                                         ; +0x3a, 0x10059571a\njz      short loc_100595728                                            ; +0x3c, 0x10059571c\nmov     rdi, rbx                                                       ; +0x3e, 0x10059571e\ncall    cocos2d__CCObject__autorelease                                 ; +0x41, 0x100595721\njmp     short loc_100595733                                            ; +0x46, 0x100595726\nmov     rax, [rbx]                                                     ; +0x48, 0x100595728\nmov     rdi, rbx                                                       ; +0x4b, 0x10059572b\ncall    qword ptr [rax+10h]                                            ; +0x4e, 0x10059572e\nxor     ebx, ebx                                                       ; +0x51, 0x100595731\nmov     rax, rbx                                                       ; +0x53, 0x100595733\npop     rbx                                                            ; +0x56, 0x100595736\npop     r12                                                            ; +0x57, 0x100595737\npop     r14                                                            ; +0x59, 0x100595739\npop     r15                                                            ; +0x5b, 0x10059573b\npop     rbp                                                            ; +0x5d, 0x10059573d\nretn                                                                   ; +0x5e, 0x10059573e", "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"}