{"type": "func", "start": 4296992848, "end": 4296992923, "name": "GJColorSetupLayer::create", "pseudocode": "// \n// GJColorSetupLayer::create from 0x1001ee850 to 0x1001ee89b (75 bytes)\n// \n// 2 xrefs:\n// > CustomizeObjectLayer::onBrowse @ 0x1001da83c\n// > LevelSettingsLayer::onCol @ 0x100257b6b\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:26:32 +0000\n// \n\nvoid *__fastcall GJColorSetupLayer::create(__int64 a1)\n{\n  void *v1; // rbx\n\n  v1 = operator new(0x308u);\n  sub_1001EF4F0(v1);\n  if ( (unsigned __int8)GJColorSetupLayer::init(v1, a1) )\n  {\n    cocos2d::CCObject::autorelease(v1);\n  }\n  else\n  {\n    (*(void (__fastcall **)(void *))(*(_QWORD *)v1 + 16LL))(v1);\n    return nullptr;\n  }\n  return v1;\n}", "assembly": "; \n; GJColorSetupLayer::create from 0x1001ee850 to 0x1001ee89b (75 bytes)\n; \n; 2 xrefs:\n; > CustomizeObjectLayer::onBrowse @ 0x1001da83c\n; > LevelSettingsLayer::onCol @ 0x100257b6b\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:26:32 +0000\n; \npush    rbp                                                            ; +0x0, 0x1001ee850\nmov     rbp, rsp                                                       ; +0x1, 0x1001ee851\npush    r14                                                            ; +0x4, 0x1001ee854\npush    rbx                                                            ; +0x6, 0x1001ee856\nmov     r14, rdi                                                       ; +0x7, 0x1001ee857\nmov     edi, 308h; __sz                                                ; +0xa, 0x1001ee85a\ncall    __Znwm; operator new(ulong)                                    ; +0xf, 0x1001ee85f\nmov     rbx, rax                                                       ; +0x14, 0x1001ee864\nmov     rdi, rax                                                       ; +0x17, 0x1001ee867\ncall    sub_1001EF4F0                                                  ; +0x1a, 0x1001ee86a\nmov     rdi, rbx                                                       ; +0x1f, 0x1001ee86f\nmov     rsi, r14                                                       ; +0x22, 0x1001ee872\ncall    GJColorSetupLayer__init                                        ; +0x25, 0x1001ee875\ntest    al, al                                                         ; +0x2a, 0x1001ee87a\njz      short loc_1001EE888                                            ; +0x2c, 0x1001ee87c\nmov     rdi, rbx                                                       ; +0x2e, 0x1001ee87e\ncall    cocos2d__CCObject__autorelease                                 ; +0x31, 0x1001ee881\njmp     short loc_1001EE893                                            ; +0x36, 0x1001ee886\nmov     rax, [rbx]                                                     ; +0x38, 0x1001ee888\nmov     rdi, rbx                                                       ; +0x3b, 0x1001ee88b\ncall    qword ptr [rax+10h]                                            ; +0x3e, 0x1001ee88e\nxor     ebx, ebx                                                       ; +0x41, 0x1001ee891\nmov     rax, rbx                                                       ; +0x43, 0x1001ee893\npop     rbx                                                            ; +0x46, 0x1001ee896\npop     r14                                                            ; +0x47, 0x1001ee897\npop     rbp                                                            ; +0x49, 0x1001ee899\nretn                                                                   ; +0x4a, 0x1001ee89a", "xrefs": ["CustomizeObjectLayer::onBrowse @ 0x1001da83c", "LevelSettingsLayer::onCol @ 0x100257b6b"], "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"}