{"type": "func", "start": 5373703472, "end": 5373703579, "name": "SpawnParticleGameObject::init", "pseudocode": "// \n// SpawnParticleGameObject::init from 0x1404c3530 to 0x1404c359b (107 bytes)\n// \n// 4 xrefs:\n// > GameObject::createWithKey @ 0x14018cc38\n// > GameObject::createWithKey @ 0x14018cc25\n// > <???> @ 0x14061f748\n// > <???> @ 0x1406dcfe0\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 SpawnParticleGameObject::init(SpawnParticleGameObject *a1)\n{\n  a1->m_eObjType = GameObjectObjectType;\n  if ( !cocos2d::CCSprite::initWithSpriteFrameName(a1, \"edit_eSpawnParticleBtn_001.png\") )\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; SpawnParticleGameObject::init from 0x1404c3530 to 0x1404c359b (107 bytes)\n; \n; 4 xrefs:\n; > GameObject::createWithKey @ 0x14018cc38\n; > GameObject::createWithKey @ 0x14018cc25\n; > <???> @ 0x14061f748\n; > <???> @ 0x1406dcfe0\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, 0x1404c3530\nsub     rsp, 20h                                                       ; +0x2, 0x1404c3532\nlea     rdx, aEditEspawnpart; \"edit_eSpawnParticleBtn_001.png\"         ; +0x6, 0x1404c3536\nmov     dword ptr [rcx+1Ch], 0Dh                                       ; +0xd, 0x1404c353d\nmov     rbx, rcx                                                       ; +0x14, 0x1404c3544\ncall    cs:__imp_?initWithSpriteFrameName@CCSprite@cocos2d@@UEAA_NPEBD@Z; cocos2d::CCSprite::initWithSpriteFrameName(char const *) ; +0x17, 0x1404c3547\ntest    al, al                                                         ; +0x1d, 0x1404c354d\njz      short loc_1404C3593                                            ; +0x1f, 0x1404c354f\nmov     rcx, rbx                                                       ; +0x21, 0x1404c3551\ncall    GameObject__commonSetup                                        ; +0x24, 0x1404c3554\nmov     byte ptr [rbx+139h], 0                                         ; +0x29, 0x1404c3559\nmov     al, 1                                                          ; +0x30, 0x1404c3560\nmov     dword ptr [rbx+4E8h], 1                                        ; +0x32, 0x1404c3562\nmov     word ptr [rbx+5B9h], 0FFFFh                                    ; +0x3c, 0x1404c356c\nmov     byte ptr [rbx+5BBh], 0FFh                                      ; +0x45, 0x1404c3575\nmov     dword ptr [rbx+5BCh], 3F000000h                                ; +0x4c, 0x1404c357c\nmov     byte ptr [rbx+674h], 1                                         ; +0x56, 0x1404c3586\nadd     rsp, 20h                                                       ; +0x5d, 0x1404c358d\npop     rbx                                                            ; +0x61, 0x1404c3591\nretn                                                                   ; +0x62, 0x1404c3592\nxor     al, al                                                         ; +0x63, 0x1404c3593\nadd     rsp, 20h                                                       ; +0x65, 0x1404c3595\npop     rbx                                                            ; +0x69, 0x1404c3599\nretn                                                                   ; +0x6a, 0x1404c359a", "xrefs": ["GameObject::createWithKey @ 0x14018cc38", "GameObject::createWithKey @ 0x14018cc25", "<???> @ 0x14061f748", "<???> @ 0x1406dcfe0"], "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"}