{"type": "func", "start": 4298657728, "end": 4298657860, "name": "EffectGameObject::create", "pseudocode": "// \n// EffectGameObject::create from 0x100384fc0 to 0x100385044 (132 bytes)\n// \n// 1 xrefs:\n// > GameObject::createWithKey @ 0x10025436c\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 *v2; // x19\n\n  v2 = (EffectGameObject *)operator new(0x730u);\n  EffectGameObject::EffectGameObject(v2);\n  if ( EnhancedGameObject::init(v2, a1) )\n  {\n    v2->m_classType = Effect;\n    v2->m_triggerTargetColor.b = -1;\n    *(_WORD *)&v2->m_triggerTargetColor.r = -1;\n    v2->m_duration = 0.5;\n    v2->m_legacyHSV = 1;\n    cocos2d::CCObject::autorelease(v2);\n  }\n  else\n  {\n    ((void (__fastcall *)(EffectGameObject *))v2->~EffectGameObject_0)(v2);\n    return nullptr;\n  }\n  return v2;\n}", "assembly": "; \n; EffectGameObject::create from 0x100384fc0 to 0x100385044 (132 bytes)\n; \n; 1 xrefs:\n; > GameObject::createWithKey @ 0x10025436c\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100384fc0\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100384fc4\nADD             X29, SP, #0x10                                         ; +0x8, 0x100384fc8\nMOV             X20, X0                                                ; +0xc, 0x100384fcc\nMOV             W0, #0x730; __sz                                       ; +0x10, 0x100384fd0\nBL              __Znwm; operator new(ulong)                            ; +0x14, 0x100384fd4\nMOV             X19, X0                                                ; +0x18, 0x100384fd8\nBL              EffectGameObject__EffectGameObject                     ; +0x1c, 0x100384fdc\nMOV             X0, X19                                                ; +0x20, 0x100384fe0\nMOV             X1, X20                                                ; +0x24, 0x100384fe4\nBL              EnhancedGameObject__init                               ; +0x28, 0x100384fe8\nCBZ             W0, loc_100385020                                      ; +0x2c, 0x100384fec\nMOV             W8, #1                                                 ; +0x30, 0x100384ff0\nSTR             W8, [X19,#0x4E0]                                       ; +0x34, 0x100384ff4\nMOV             W9, #0xFF                                              ; +0x38, 0x100384ff8\nSTRB            W9, [X19,#0x5AA]                                       ; +0x3c, 0x100384ffc\nMOV             W9, #0xFFFF                                            ; +0x40, 0x100385000\nSTRH            W9, [X19,#0x5A8]                                       ; +0x44, 0x100385004\nMOV             W9, #0x3F000000                                        ; +0x48, 0x100385008\nSTR             W9, [X19,#0x5AC]                                       ; +0x4c, 0x10038500c\nSTRB            W8, [X19,#0x664]                                       ; +0x50, 0x100385010\nMOV             X0, X19                                                ; +0x54, 0x100385014\nBL              cocos2d__CCObject__autorelease                         ; +0x58, 0x100385018\nB               loc_100385034                                          ; +0x5c, 0x10038501c\nLDR             X8, [X19]                                              ; +0x60, 0x100385020\nLDR             X8, [X8,#0x10]                                         ; +0x64, 0x100385024\nMOV             X0, X19                                                ; +0x68, 0x100385028\nBLR             X8                                                     ; +0x6c, 0x10038502c\nMOV             X19, #0                                                ; +0x70, 0x100385030\nMOV             X0, X19                                                ; +0x74, 0x100385034\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x78, 0x100385038\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x7c, 0x10038503c\nRET                                                                    ; +0x80, 0x100385040", "xrefs": ["GameObject::createWithKey @ 0x10025436c"], "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"}