{"type": "func", "start": 4296773664, "end": 4296773782, "name": "EffectGameObject::create", "pseudocode": "// \n// EffectGameObject::create from 0x1001b9020 to 0x1001b9096 (118 bytes)\n// \n// 1 xrefs:\n// > GameObject::createWithKey @ 0x10059d4a6\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\nEffectGameObject *__fastcall EffectGameObject::create(const char *a1)\n{\n  EffectGameObject *v1; // rbx\n\n  v1 = (EffectGameObject *)operator new(0x730u);\n  EffectGameObject::EffectGameObject(v1);\n  if ( EnhancedGameObject::init(v1, a1) )\n  {\n    v1->m_classType = Effect;\n    v1->m_triggerTargetColor.b = -1;\n    *(_WORD *)&v1->m_triggerTargetColor.r = -1;\n    v1->m_duration = 0.5;\n    v1->m_legacyHSV = 1;\n    cocos2d::CCObject::autorelease(v1);\n  }\n  else\n  {\n    ((void (__fastcall *)(EffectGameObject *))v1->~EffectGameObject_0)(v1);\n    return nullptr;\n  }\n  return v1;\n}", "assembly": "; \n; EffectGameObject::create from 0x1001b9020 to 0x1001b9096 (118 bytes)\n; \n; 1 xrefs:\n; > GameObject::createWithKey @ 0x10059d4a6\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    rbp                                                            ; +0x0, 0x1001b9020\nmov     rbp, rsp                                                       ; +0x1, 0x1001b9021\npush    r14                                                            ; +0x4, 0x1001b9024\npush    rbx                                                            ; +0x6, 0x1001b9026\nmov     r14, rdi                                                       ; +0x7, 0x1001b9027\nmov     edi, 730h; __sz                                                ; +0xa, 0x1001b902a\ncall    __Znwm; operator new(ulong)                                    ; +0xf, 0x1001b902f\nmov     rbx, rax                                                       ; +0x14, 0x1001b9034\nmov     rdi, rax                                                       ; +0x17, 0x1001b9037\ncall    EffectGameObject__EffectGameObject                             ; +0x1a, 0x1001b903a\nmov     rdi, rbx                                                       ; +0x1f, 0x1001b903f\nmov     rsi, r14                                                       ; +0x22, 0x1001b9042\ncall    EnhancedGameObject__init                                       ; +0x25, 0x1001b9045\ntest    al, al                                                         ; +0x2a, 0x1001b904a\njz      short loc_1001B9083                                            ; +0x2c, 0x1001b904c\nmov     dword ptr [rbx+4E0h], 1                                        ; +0x2e, 0x1001b904e\nmov     byte ptr [rbx+5AAh], 0FFh                                      ; +0x38, 0x1001b9058\nmov     word ptr [rbx+5A8h], 0FFFFh                                    ; +0x3f, 0x1001b905f\nmov     dword ptr [rbx+5ACh], 3F000000h                                ; +0x48, 0x1001b9068\nmov     byte ptr [rbx+664h], 1                                         ; +0x52, 0x1001b9072\nmov     rdi, rbx                                                       ; +0x59, 0x1001b9079\ncall    cocos2d__CCObject__autorelease                                 ; +0x5c, 0x1001b907c\njmp     short loc_1001B908E                                            ; +0x61, 0x1001b9081\nmov     rax, [rbx]                                                     ; +0x63, 0x1001b9083\nmov     rdi, rbx                                                       ; +0x66, 0x1001b9086\ncall    qword ptr [rax+10h]                                            ; +0x69, 0x1001b9089\nxor     ebx, ebx                                                       ; +0x6c, 0x1001b908c\nmov     rax, rbx                                                       ; +0x6e, 0x1001b908e\npop     rbx                                                            ; +0x71, 0x1001b9091\npop     r14                                                            ; +0x72, 0x1001b9092\npop     rbp                                                            ; +0x74, 0x1001b9094\nretn                                                                   ; +0x75, 0x1001b9095", "xrefs": ["GameObject::createWithKey @ 0x10059d4a6"], "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"}