{"type": "func", "start": 4296558496, "end": 4296558634, "name": "EnterEffectObject::create", "pseudocode": "// \n// EnterEffectObject::create from 0x1001847a0 to 0x10018482a (138 bytes)\n// \n// 1 xrefs:\n// > GameObject::createWithKey @ 0x10059d4e7\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\nEnterEffectObject *__fastcall EnterEffectObject::create(const char *a1)\n{\n  EnterEffectObject *v1; // rbx\n\n  v1 = (EnterEffectObject *)operator new(0x810u);\n  EnterEffectObject::EnterEffectObject(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    v1->m_objectType = EnterEffectObject;\n    v1->m_unk390 = 45;\n    cocos2d::CCObject::autorelease(v1);\n  }\n  else\n  {\n    ((void (__fastcall *)(EnterEffectObject *))v1->~EnterEffectObject_0)(v1);\n    return nullptr;\n  }\n  return v1;\n}", "assembly": "; \n; EnterEffectObject::create from 0x1001847a0 to 0x10018482a (138 bytes)\n; \n; 1 xrefs:\n; > GameObject::createWithKey @ 0x10059d4e7\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, 0x1001847a0\nmov     rbp, rsp                                                       ; +0x1, 0x1001847a1\npush    r14                                                            ; +0x4, 0x1001847a4\npush    rbx                                                            ; +0x6, 0x1001847a6\nmov     r14, rdi                                                       ; +0x7, 0x1001847a7\nmov     edi, 810h; __sz                                                ; +0xa, 0x1001847aa\ncall    __Znwm; operator new(ulong)                                    ; +0xf, 0x1001847af\nmov     rbx, rax                                                       ; +0x14, 0x1001847b4\nmov     rdi, rax                                                       ; +0x17, 0x1001847b7\ncall    EnterEffectObject__EnterEffectObject                           ; +0x1a, 0x1001847ba\nmov     rdi, rbx                                                       ; +0x1f, 0x1001847bf\nmov     rsi, r14                                                       ; +0x22, 0x1001847c2\ncall    EnhancedGameObject__init                                       ; +0x25, 0x1001847c5\ntest    al, al                                                         ; +0x2a, 0x1001847ca\njz      short loc_100184817                                            ; +0x2c, 0x1001847cc\nmov     dword ptr [rbx+4E0h], 1                                        ; +0x2e, 0x1001847ce\nmov     byte ptr [rbx+5AAh], 0FFh                                      ; +0x38, 0x1001847d8\nmov     word ptr [rbx+5A8h], 0FFFFh                                    ; +0x3f, 0x1001847df\nmov     dword ptr [rbx+5ACh], 3F000000h                                ; +0x48, 0x1001847e8\nmov     byte ptr [rbx+664h], 1                                         ; +0x52, 0x1001847f2\nmov     dword ptr [rbx+398h], 2Dh ; '-'                                ; +0x59, 0x1001847f9\nmov     dword ptr [rbx+3A0h], 2Dh ; '-'                                ; +0x63, 0x100184803\nmov     rdi, rbx                                                       ; +0x6d, 0x10018480d\ncall    cocos2d__CCObject__autorelease                                 ; +0x70, 0x100184810\njmp     short loc_100184822                                            ; +0x75, 0x100184815\nmov     rax, [rbx]                                                     ; +0x77, 0x100184817\nmov     rdi, rbx                                                       ; +0x7a, 0x10018481a\ncall    qword ptr [rax+10h]                                            ; +0x7d, 0x10018481d\nxor     ebx, ebx                                                       ; +0x80, 0x100184820\nmov     rax, rbx                                                       ; +0x82, 0x100184822\npop     rbx                                                            ; +0x85, 0x100184825\npop     r14                                                            ; +0x86, 0x100184826\npop     rbp                                                            ; +0x88, 0x100184828\nretn                                                                   ; +0x89, 0x100184829", "xrefs": ["GameObject::createWithKey @ 0x10059d4e7"], "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"}