{"type": "func", "start": 4297411428, "end": 4297411488, "name": "GameObject::init", "pseudocode": "// \n// GameObject::init from 0x100254b64 to 0x100254ba0 (60 bytes)\n// \n// 5 xrefs:\n// > PlayerObject::init @ 0x1002178f8\n// > SmartGameObject::init @ 0x1003807e4\n// > LabelGameObject::create @ 0x100388980\n// > LabelGameObject::init @ 0x1003889e8\n// > EndPortalObject::init @ 0x1003fe728\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 __fastcall GameObject::init(GameObject *a1, const char *a2)\n{\n  _BOOL4 v3; // w20\n\n  v3 = CCSpritePlus::initWithSpriteFrameName(a1, a2);\n  if ( v3 )\n  {\n    GameObject::commonSetup(a1);\n    a1->m_bUnkBool2 = 1;\n  }\n  return v3;\n}", "assembly": "; \n; GameObject::init from 0x100254b64 to 0x100254ba0 (60 bytes)\n; \n; 5 xrefs:\n; > PlayerObject::init @ 0x1002178f8\n; > SmartGameObject::init @ 0x1003807e4\n; > LabelGameObject::create @ 0x100388980\n; > LabelGameObject::init @ 0x1003889e8\n; > EndPortalObject::init @ 0x1003fe728\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, 0x100254b64\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100254b68\nADD             X29, SP, #0x10                                         ; +0x8, 0x100254b6c\nMOV             X19, X0                                                ; +0xc, 0x100254b70\nBL              CCSpritePlus__initWithSpriteFrameName                  ; +0x10, 0x100254b74\nMOV             X20, X0                                                ; +0x14, 0x100254b78\nCBZ             W0, loc_100254B90                                      ; +0x18, 0x100254b7c\nMOV             X0, X19                                                ; +0x1c, 0x100254b80\nBL              GameObject__commonSetup                                ; +0x20, 0x100254b84\nMOV             W8, #1                                                 ; +0x24, 0x100254b88\nSTRB            W8, [X19,#0x139]                                       ; +0x28, 0x100254b8c\nMOV             X0, X20                                                ; +0x2c, 0x100254b90\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x30, 0x100254b94\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x34, 0x100254b98\nRET                                                                    ; +0x38, 0x100254b9c", "xrefs": ["PlayerObject::init @ 0x1002178f8", "SmartGameObject::init @ 0x1003807e4", "LabelGameObject::create @ 0x100388980", "LabelGameObject::init @ 0x1003889e8", "EndPortalObject::init @ 0x1003fe728"], "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"}