{"type": "func", "start": 5375293008, "end": 5375293108, "name": "EffectGameObject::init", "pseudocode": "// \n// EffectGameObject::init from 0x140647650 to 0x1406476b4 (100 bytes)\n// \n// 26 xrefs:\n// > EditorSFXManager::createNewSound @ 0x140185ea5\n// > GameObject::createWithKey @ 0x140288d27\n// > GameObject::createWithKey @ 0x140288ddf\n// > GameObject::createWithKey @ 0x140288f4b\n// > GameObject::createWithKey @ 0x140289136\n// > GameObject::createWithKey @ 0x14028927c\n// > GameObject::createWithKey @ 0x140289387\n// > GameObject::createWithKey @ 0x1402894cd\n// > GameObject::createWithKey @ 0x1402896e3\n// > GameObject::createWithKey @ 0x140289805\n// > GameObject::createWithKey @ 0x140289837\n// > GameObject::createWithKey @ 0x140289a56\n// > GameObject::createWithKey @ 0x140289b47\n// > GameObject::createWithKey @ 0x140289eb8\n// > GameObject::createWithKey @ 0x140289f58\n// > GameObject::createWithKey @ 0x140289fdc\n// > GameObject::createWithKey @ 0x14028a1cd\n// > GameObject::createWithKey @ 0x14028a1ff\n// > GameObject::createWithKey @ 0x14028a27e\n// > GameObject::createWithKey @ 0x14028a332\n// > GameObject::createWithKey @ 0x14028a3c6\n// > RingObject::create @ 0x14064397c\n// > TeleportPortalObject::create @ 0x140653777\n// > RandTriggerGameObject::init @ 0x1406555eb\n// > SequenceTriggerGameObject::init @ 0x140655c0b\n// > <???> @ 0x140931418\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 11:35:37 +0000\n// \n\nchar __fastcall EffectGameObject::init(__int64 a1, const char *a2)\n{\n  *(_DWORD *)(a1 + 28) = 13;\n  if ( !cocos2d::CCSprite::initWithSpriteFrameName((cocos2d::CCSprite *)a1, a2) )\n    return 0;\n  GameObject::commonSetup(a1);\n  *(_BYTE *)(a1 + 313) = 0;\n  *(_DWORD *)(a1 + 1256) = 1;\n  *(_WORD *)(a1 + 1465) = -1;\n  *(_BYTE *)(a1 + 1467) = -1;\n  *(_DWORD *)(a1 + 1468) = 1056964608;\n  *(_BYTE *)(a1 + 1652) = 1;\n  return 1;\n}", "assembly": "; \n; EffectGameObject::init from 0x140647650 to 0x1406476b4 (100 bytes)\n; \n; 26 xrefs:\n; > EditorSFXManager::createNewSound @ 0x140185ea5\n; > GameObject::createWithKey @ 0x140288d27\n; > GameObject::createWithKey @ 0x140288ddf\n; > GameObject::createWithKey @ 0x140288f4b\n; > GameObject::createWithKey @ 0x140289136\n; > GameObject::createWithKey @ 0x14028927c\n; > GameObject::createWithKey @ 0x140289387\n; > GameObject::createWithKey @ 0x1402894cd\n; > GameObject::createWithKey @ 0x1402896e3\n; > GameObject::createWithKey @ 0x140289805\n; > GameObject::createWithKey @ 0x140289837\n; > GameObject::createWithKey @ 0x140289a56\n; > GameObject::createWithKey @ 0x140289b47\n; > GameObject::createWithKey @ 0x140289eb8\n; > GameObject::createWithKey @ 0x140289f58\n; > GameObject::createWithKey @ 0x140289fdc\n; > GameObject::createWithKey @ 0x14028a1cd\n; > GameObject::createWithKey @ 0x14028a1ff\n; > GameObject::createWithKey @ 0x14028a27e\n; > GameObject::createWithKey @ 0x14028a332\n; > GameObject::createWithKey @ 0x14028a3c6\n; > RingObject::create @ 0x14064397c\n; > TeleportPortalObject::create @ 0x140653777\n; > RandTriggerGameObject::init @ 0x1406555eb\n; > SequenceTriggerGameObject::init @ 0x140655c0b\n; > <???> @ 0x140931418\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 11:35:37 +0000\n; \npush    rbx                                                            ; +0x0, 0x140647650\nsub     rsp, 20h                                                       ; +0x2, 0x140647652\nmov     rbx, rcx                                                       ; +0x6, 0x140647656\nmov     dword ptr [rcx+1Ch], 0Dh                                       ; +0x9, 0x140647659\ncall    cs:__imp_?initWithSpriteFrameName@CCSprite@cocos2d@@UEAA_NPEBD@Z; cocos2d::CCSprite::initWithSpriteFrameName(char const *) ; +0x10, 0x140647660\ntest    al, al                                                         ; +0x16, 0x140647666\njz      short loc_1406476AC                                            ; +0x18, 0x140647668\nmov     rcx, rbx                                                       ; +0x1a, 0x14064766a\ncall    GameObject__commonSetup                                        ; +0x1d, 0x14064766d\nmov     byte ptr [rbx+139h], 0                                         ; +0x22, 0x140647672\nmov     al, 1                                                          ; +0x29, 0x140647679\nmov     dword ptr [rbx+4E8h], 1                                        ; +0x2b, 0x14064767b\nmov     word ptr [rbx+5B9h], 0FFFFh                                    ; +0x35, 0x140647685\nmov     byte ptr [rbx+5BBh], 0FFh                                      ; +0x3e, 0x14064768e\nmov     dword ptr [rbx+5BCh], 3F000000h                                ; +0x45, 0x140647695\nmov     byte ptr [rbx+674h], 1                                         ; +0x4f, 0x14064769f\nadd     rsp, 20h                                                       ; +0x56, 0x1406476a6\npop     rbx                                                            ; +0x5a, 0x1406476aa\nretn                                                                   ; +0x5b, 0x1406476ab\nxor     al, al                                                         ; +0x5c, 0x1406476ac\nadd     rsp, 20h                                                       ; +0x5e, 0x1406476ae\npop     rbx                                                            ; +0x62, 0x1406476b2\nretn                                                                   ; +0x63, 0x1406476b3", "xrefs": ["EditorSFXManager::createNewSound @ 0x140185ea5", "GameObject::createWithKey @ 0x140288d27", "GameObject::createWithKey @ 0x140288ddf", "GameObject::createWithKey @ 0x140288f4b", "GameObject::createWithKey @ 0x140289136", "GameObject::createWithKey @ 0x14028927c", "GameObject::createWithKey @ 0x140289387", "GameObject::createWithKey @ 0x1402894cd", "GameObject::createWithKey @ 0x1402896e3", "GameObject::createWithKey @ 0x140289805", "GameObject::createWithKey @ 0x140289837", "GameObject::createWithKey @ 0x140289a56", "GameObject::createWithKey @ 0x140289b47", "GameObject::createWithKey @ 0x140289eb8", "GameObject::createWithKey @ 0x140289f58", "GameObject::createWithKey @ 0x140289fdc", "GameObject::createWithKey @ 0x14028a1cd", "GameObject::createWithKey @ 0x14028a1ff", "GameObject::createWithKey @ 0x14028a27e", "GameObject::createWithKey @ 0x14028a332", "GameObject::createWithKey @ 0x14028a3c6", "RingObject::create @ 0x14064397c", "TeleportPortalObject::create @ 0x140653777", "RandTriggerGameObject::init @ 0x1406555eb", "SequenceTriggerGameObject::init @ 0x140655c0b", "<???> @ 0x140931418"], "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"}