{"type": "func", "start": 5370431360, "end": 5370431427, "name": "EnhancedGameObject::init", "pseudocode": "// \n// EnhancedGameObject::init from 0x1401a4780 to 0x1401a47c3 (67 bytes)\n// \n// 2 xrefs:\n// > ParticleGameObject::create @ 0x14049fbc8\n// > <???> @ 0x1406cc048\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 EnhancedGameObject::init(EnhancedGameObject *a1, const char *a2)\n{\n  a1->m_eObjType = GameObjectObjectType;\n  if ( !cocos2d::CCSprite::initWithSpriteFrameName(a1, a2) )\n    return 0;\n  GameObject::commonSetup(a1);\n  a1->m_classType = Enhanced;\n  a1->m_bUnkBool2 = 0;\n  return 1;\n}", "assembly": "; \n; EnhancedGameObject::init from 0x1401a4780 to 0x1401a47c3 (67 bytes)\n; \n; 2 xrefs:\n; > ParticleGameObject::create @ 0x14049fbc8\n; > <???> @ 0x1406cc048\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, 0x1401a4780\nsub     rsp, 20h                                                       ; +0x2, 0x1401a4782\nmov     rbx, rcx                                                       ; +0x6, 0x1401a4786\nmov     dword ptr [rcx+1Ch], 0Dh                                       ; +0x9, 0x1401a4789\ncall    cs:__imp_?initWithSpriteFrameName@CCSprite@cocos2d@@UEAA_NPEBD@Z; cocos2d::CCSprite::initWithSpriteFrameName(char const *) ; +0x10, 0x1401a4790\ntest    al, al                                                         ; +0x16, 0x1401a4796\njz      short loc_1401A47BB                                            ; +0x18, 0x1401a4798\nmov     rcx, rbx                                                       ; +0x1a, 0x1401a479a\ncall    GameObject__commonSetup                                        ; +0x1d, 0x1401a479d\nmov     al, 1                                                          ; +0x22, 0x1401a47a2\nmov     dword ptr [rbx+4E8h], 4                                        ; +0x24, 0x1401a47a4\nmov     byte ptr [rbx+139h], 0                                         ; +0x2e, 0x1401a47ae\nadd     rsp, 20h                                                       ; +0x35, 0x1401a47b5\npop     rbx                                                            ; +0x39, 0x1401a47b9\nretn                                                                   ; +0x3a, 0x1401a47ba\nxor     al, al                                                         ; +0x3b, 0x1401a47bb\nadd     rsp, 20h                                                       ; +0x3d, 0x1401a47bd\npop     rbx                                                            ; +0x41, 0x1401a47c1\nretn                                                                   ; +0x42, 0x1401a47c2", "xrefs": ["ParticleGameObject::create @ 0x14049fbc8", "<???> @ 0x1406cc048"], "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"}