{"type": "func", "start": 4300873776, "end": 4300873821, "name": "GameObject::init", "pseudocode": "// \n// GameObject::init from 0x1005a2030 to 0x1005a205d (45 bytes)\n// \n// 6 xrefs:\n// > SmartGameObject::create @ 0x1001b0c5a\n// > SmartGameObject::init @ 0x1001b0ccd\n// > LabelGameObject::create @ 0x1001c0e82\n// > LabelGameObject::init @ 0x1001c0ee0\n// > EndPortalObject::init @ 0x10039c43b\n// > PlayerObject::init @ 0x1003fa8d9\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  bool result; // al\n  bool v3; // r14\n\n  result = CCSpritePlus::initWithSpriteFrameName(a1, a2);\n  if ( result )\n  {\n    v3 = result;\n    GameObject::commonSetup(a1);\n    a1->m_bUnkBool2 = 1;\n    return v3;\n  }\n  return result;\n}", "assembly": "; \n; GameObject::init from 0x1005a2030 to 0x1005a205d (45 bytes)\n; \n; 6 xrefs:\n; > SmartGameObject::create @ 0x1001b0c5a\n; > SmartGameObject::init @ 0x1001b0ccd\n; > LabelGameObject::create @ 0x1001c0e82\n; > LabelGameObject::init @ 0x1001c0ee0\n; > EndPortalObject::init @ 0x10039c43b\n; > PlayerObject::init @ 0x1003fa8d9\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    rbp                                                            ; +0x0, 0x1005a2030\nmov     rbp, rsp                                                       ; +0x1, 0x1005a2031\npush    r14                                                            ; +0x4, 0x1005a2034\npush    rbx                                                            ; +0x6, 0x1005a2036\nmov     rbx, rdi                                                       ; +0x7, 0x1005a2037\ncall    CCSpritePlus__initWithSpriteFrameName                          ; +0xa, 0x1005a203a\ntest    al, al                                                         ; +0xf, 0x1005a203f\njz      short loc_1005A2058                                            ; +0x11, 0x1005a2041\nmov     rdi, rbx                                                       ; +0x13, 0x1005a2043\nmov     r14d, eax                                                      ; +0x16, 0x1005a2046\ncall    GameObject__commonSetup                                        ; +0x19, 0x1005a2049\nmov     eax, r14d                                                      ; +0x1e, 0x1005a204e\nmov     byte ptr [rbx+139h], 1                                         ; +0x21, 0x1005a2051\npop     rbx                                                            ; +0x28, 0x1005a2058\npop     r14                                                            ; +0x29, 0x1005a2059\npop     rbp                                                            ; +0x2b, 0x1005a205b\nretn                                                                   ; +0x2c, 0x1005a205c", "xrefs": ["SmartGameObject::create @ 0x1001b0c5a", "SmartGameObject::init @ 0x1001b0ccd", "LabelGameObject::create @ 0x1001c0e82", "LabelGameObject::init @ 0x1001c0ee0", "EndPortalObject::init @ 0x10039c43b", "PlayerObject::init @ 0x1003fa8d9"], "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"}