{"type": "func", "start": 5373661312, "end": 5373661419, "name": "SpawnTriggerGameObject::init", "pseudocode": "// \n// SpawnTriggerGameObject::init from 0x1404b9080 to 0x1404b90eb (107 bytes)\n// \n// 4 xrefs:\n// > GameObject::createWithKey @ 0x14018bb1c\n// > GameObject::createWithKey @ 0x14018bb0d\n// > <???> @ 0x14061cd00\n// > <???> @ 0x1406dcc80\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 SpawnTriggerGameObject::init(SpawnTriggerGameObject *a1)\n{\n  a1->m_eObjType = GameObjectObjectType;\n  if ( !cocos2d::CCSprite::initWithSpriteFrameName(a1, \"edit_eSpawnBtn_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; SpawnTriggerGameObject::init from 0x1404b9080 to 0x1404b90eb (107 bytes)\n; \n; 4 xrefs:\n; > GameObject::createWithKey @ 0x14018bb1c\n; > GameObject::createWithKey @ 0x14018bb0d\n; > <???> @ 0x14061cd00\n; > <???> @ 0x1406dcc80\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, 0x1404b9080\nsub     rsp, 20h                                                       ; +0x2, 0x1404b9082\nlea     rdx, aEditEspawnbtn0; \"edit_eSpawnBtn_001.png\"                 ; +0x6, 0x1404b9086\nmov     dword ptr [rcx+1Ch], 0Dh                                       ; +0xd, 0x1404b908d\nmov     rbx, rcx                                                       ; +0x14, 0x1404b9094\ncall    cs:__imp_?initWithSpriteFrameName@CCSprite@cocos2d@@UEAA_NPEBD@Z; cocos2d::CCSprite::initWithSpriteFrameName(char const *) ; +0x17, 0x1404b9097\ntest    al, al                                                         ; +0x1d, 0x1404b909d\njz      short loc_1404B90E3                                            ; +0x1f, 0x1404b909f\nmov     rcx, rbx                                                       ; +0x21, 0x1404b90a1\ncall    GameObject__commonSetup                                        ; +0x24, 0x1404b90a4\nmov     byte ptr [rbx+139h], 0                                         ; +0x29, 0x1404b90a9\nmov     al, 1                                                          ; +0x30, 0x1404b90b0\nmov     dword ptr [rbx+4E8h], 1                                        ; +0x32, 0x1404b90b2\nmov     word ptr [rbx+5B9h], 0FFFFh                                    ; +0x3c, 0x1404b90bc\nmov     byte ptr [rbx+5BBh], 0FFh                                      ; +0x45, 0x1404b90c5\nmov     dword ptr [rbx+5BCh], 3F000000h                                ; +0x4c, 0x1404b90cc\nmov     byte ptr [rbx+674h], 1                                         ; +0x56, 0x1404b90d6\nadd     rsp, 20h                                                       ; +0x5d, 0x1404b90dd\npop     rbx                                                            ; +0x61, 0x1404b90e1\nretn                                                                   ; +0x62, 0x1404b90e2\nxor     al, al                                                         ; +0x63, 0x1404b90e3\nadd     rsp, 20h                                                       ; +0x65, 0x1404b90e5\npop     rbx                                                            ; +0x69, 0x1404b90e9\nretn                                                                   ; +0x6a, 0x1404b90ea", "xrefs": ["GameObject::createWithKey @ 0x14018bb1c", "GameObject::createWithKey @ 0x14018bb0d", "<???> @ 0x14061cd00", "<???> @ 0x1406dcc80"], "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"}