{"type": "func", "start": 5373581440, "end": 5373581540, "name": "EffectGameObject::init", "pseudocode": "// \n// EffectGameObject::init from 0x1404a5880 to 0x1404a58e4 (100 bytes)\n// \n// 24 xrefs:\n// > GameObject::createWithKey @ 0x14018bbc4\n// > GameObject::createWithKey @ 0x14018bc7c\n// > GameObject::createWithKey @ 0x14018bdeb\n// > GameObject::createWithKey @ 0x14018bfd6\n// > GameObject::createWithKey @ 0x14018c11b\n// > GameObject::createWithKey @ 0x14018c230\n// > GameObject::createWithKey @ 0x14018c394\n// > GameObject::createWithKey @ 0x14018c5a3\n// > GameObject::createWithKey @ 0x14018c6c5\n// > GameObject::createWithKey @ 0x14018c6f7\n// > GameObject::createWithKey @ 0x14018c916\n// > GameObject::createWithKey @ 0x14018ca07\n// > GameObject::createWithKey @ 0x14018cd06\n// > GameObject::createWithKey @ 0x14018cda6\n// > GameObject::createWithKey @ 0x14018ce2a\n// > GameObject::createWithKey @ 0x14018d019\n// > GameObject::createWithKey @ 0x14018d04b\n// > GameObject::createWithKey @ 0x14018d0ca\n// > GameObject::createWithKey @ 0x14018d252\n// > RingObject::create @ 0x1404a1cac\n// > TeleportPortalObject::create @ 0x1404b2287\n// > RandTriggerGameObject::init @ 0x1404b41cb\n// > SequenceTriggerGameObject::init @ 0x1404b482b\n// > <???> @ 0x1406dc884\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\nbool EffectGameObject::init(EffectGameObject *a1, const char *a2)\n{\n  a1->m_eObjType = GameObjectObjectType;\n  if ( !cocos2d::CCSprite::initWithSpriteFrameName(a1, a2) )\n    return 0;\n  GameObject::commonSetup(a1);\n  a1->m_bUnkBool2 = 0;\n  a1->m_classType = Effect;\n  *(_WORD *)&a1->m_triggerTargetColor.r = -1;\n  a1->m_triggerTargetColor.b = -1;\n  a1->m_duration = 0.5;\n  a1->m_legacyHSV = 1;\n  return 1;\n}", "assembly": "; \n; EffectGameObject::init from 0x1404a5880 to 0x1404a58e4 (100 bytes)\n; \n; 24 xrefs:\n; > GameObject::createWithKey @ 0x14018bbc4\n; > GameObject::createWithKey @ 0x14018bc7c\n; > GameObject::createWithKey @ 0x14018bdeb\n; > GameObject::createWithKey @ 0x14018bfd6\n; > GameObject::createWithKey @ 0x14018c11b\n; > GameObject::createWithKey @ 0x14018c230\n; > GameObject::createWithKey @ 0x14018c394\n; > GameObject::createWithKey @ 0x14018c5a3\n; > GameObject::createWithKey @ 0x14018c6c5\n; > GameObject::createWithKey @ 0x14018c6f7\n; > GameObject::createWithKey @ 0x14018c916\n; > GameObject::createWithKey @ 0x14018ca07\n; > GameObject::createWithKey @ 0x14018cd06\n; > GameObject::createWithKey @ 0x14018cda6\n; > GameObject::createWithKey @ 0x14018ce2a\n; > GameObject::createWithKey @ 0x14018d019\n; > GameObject::createWithKey @ 0x14018d04b\n; > GameObject::createWithKey @ 0x14018d0ca\n; > GameObject::createWithKey @ 0x14018d252\n; > RingObject::create @ 0x1404a1cac\n; > TeleportPortalObject::create @ 0x1404b2287\n; > RandTriggerGameObject::init @ 0x1404b41cb\n; > SequenceTriggerGameObject::init @ 0x1404b482b\n; > <???> @ 0x1406dc884\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    rbx                                                            ; +0x0, 0x1404a5880\nsub     rsp, 20h                                                       ; +0x2, 0x1404a5882\nmov     rbx, rcx                                                       ; +0x6, 0x1404a5886\nmov     dword ptr [rcx+1Ch], 0Dh                                       ; +0x9, 0x1404a5889\ncall    cs:__imp_?initWithSpriteFrameName@CCSprite@cocos2d@@UEAA_NPEBD@Z; cocos2d::CCSprite::initWithSpriteFrameName(char const *) ; +0x10, 0x1404a5890\ntest    al, al                                                         ; +0x16, 0x1404a5896\njz      short loc_1404A58DC                                            ; +0x18, 0x1404a5898\nmov     rcx, rbx                                                       ; +0x1a, 0x1404a589a\ncall    GameObject__commonSetup                                        ; +0x1d, 0x1404a589d\nmov     byte ptr [rbx+139h], 0                                         ; +0x22, 0x1404a58a2\nmov     al, 1                                                          ; +0x29, 0x1404a58a9\nmov     dword ptr [rbx+4E8h], 1                                        ; +0x2b, 0x1404a58ab\nmov     word ptr [rbx+5B9h], 0FFFFh                                    ; +0x35, 0x1404a58b5\nmov     byte ptr [rbx+5BBh], 0FFh                                      ; +0x3e, 0x1404a58be\nmov     dword ptr [rbx+5BCh], 3F000000h                                ; +0x45, 0x1404a58c5\nmov     byte ptr [rbx+674h], 1                                         ; +0x4f, 0x1404a58cf\nadd     rsp, 20h                                                       ; +0x56, 0x1404a58d6\npop     rbx                                                            ; +0x5a, 0x1404a58da\nretn                                                                   ; +0x5b, 0x1404a58db\nxor     al, al                                                         ; +0x5c, 0x1404a58dc\nadd     rsp, 20h                                                       ; +0x5e, 0x1404a58de\npop     rbx                                                            ; +0x62, 0x1404a58e2\nretn                                                                   ; +0x63, 0x1404a58e3", "xrefs": ["GameObject::createWithKey @ 0x14018bbc4", "GameObject::createWithKey @ 0x14018bc7c", "GameObject::createWithKey @ 0x14018bdeb", "GameObject::createWithKey @ 0x14018bfd6", "GameObject::createWithKey @ 0x14018c11b", "GameObject::createWithKey @ 0x14018c230", "GameObject::createWithKey @ 0x14018c394", "GameObject::createWithKey @ 0x14018c5a3", "GameObject::createWithKey @ 0x14018c6c5", "GameObject::createWithKey @ 0x14018c6f7", "GameObject::createWithKey @ 0x14018c916", "GameObject::createWithKey @ 0x14018ca07", "GameObject::createWithKey @ 0x14018cd06", "GameObject::createWithKey @ 0x14018cda6", "GameObject::createWithKey @ 0x14018ce2a", "GameObject::createWithKey @ 0x14018d019", "GameObject::createWithKey @ 0x14018d04b", "GameObject::createWithKey @ 0x14018d0ca", "GameObject::createWithKey @ 0x14018d252", "RingObject::create @ 0x1404a1cac", "TeleportPortalObject::create @ 0x1404b2287", "RandTriggerGameObject::init @ 0x1404b41cb", "SequenceTriggerGameObject::init @ 0x1404b482b", "<???> @ 0x1406dc884"], "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"}