{"type": "func", "start": 4299681768, "end": 4299681892, "name": "EndPortalObject::create", "pseudocode": "// \n// EndPortalObject::create from 0x10047efe8 to 0x10047f064 (124 bytes)\n// \n// 1 xrefs:\n// > PlayLayer::createObjectsFromSetupFinished @ 0x1001451a8\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:05:45 +0000\n// \n\n_QWORD *EndPortalObject::create()\n{\n  _QWORD *v0; // x19\n\n  v0 = operator new(0x558u);\n  GameObject::GameObject((__int64)v0);\n  *v0 = &off_10096DCE8;\n  v0[40] = off_10096E418;\n  v0[43] = off_10096E498;\n  v0[169] = 0;\n  *((_WORD *)v0 + 680) = 0;\n  if ( (unsigned int)EndPortalObject::init(v0) )\n  {\n    cocos2d::CCObject::autorelease((__int64)v0);\n  }\n  else\n  {\n    (*(void (__fastcall **)(_QWORD *))(*v0 + 16LL))(v0);\n    return nullptr;\n  }\n  return v0;\n}", "assembly": "; \n; EndPortalObject::create from 0x10047efe8 to 0x10047f064 (124 bytes)\n; \n; 1 xrefs:\n; > PlayLayer::createObjectsFromSetupFinished @ 0x1001451a8\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:05:45 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x10047efe8\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10047efec\nADD             X29, SP, #0x10                                         ; +0x8, 0x10047eff0\nMOV             W0, #0x558; __sz                                       ; +0xc, 0x10047eff4\nBL              __Znwm; operator new(ulong)                            ; +0x10, 0x10047eff8\nMOV             X19, X0                                                ; +0x14, 0x10047effc\nBL              GameObject__GameObject                                 ; +0x18, 0x10047f000\nADRL            X8, off_10096DCE8                                      ; +0x1c, 0x10047f004\nSTR             X8, [X19]                                              ; +0x24, 0x10047f00c\nADD             X9, X8, #(off_10096E418 - 0x10096DCE8)                 ; +0x28, 0x10047f010\nSTR             X9, [X19,#0x140]                                       ; +0x2c, 0x10047f014\nADD             X8, X8, #(off_10096E498 - 0x10096DCE8)                 ; +0x30, 0x10047f018\nSTR             X8, [X19,#0x158]                                       ; +0x34, 0x10047f01c\nSTR             XZR, [X19,#0x548]                                      ; +0x38, 0x10047f020\nSTRH            WZR, [X19,#0x550]                                      ; +0x3c, 0x10047f024\nMOV             X0, X19                                                ; +0x40, 0x10047f028\nBL              EndPortalObject__init                                  ; +0x44, 0x10047f02c\nCBZ             W0, loc_10047F040                                      ; +0x48, 0x10047f030\nMOV             X0, X19                                                ; +0x4c, 0x10047f034\nBL              cocos2d__CCObject__autorelease                         ; +0x50, 0x10047f038\nB               loc_10047F054                                          ; +0x54, 0x10047f03c\nLDR             X8, [X19]                                              ; +0x58, 0x10047f040\nLDR             X8, [X8,#0x10]                                         ; +0x5c, 0x10047f044\nMOV             X0, X19                                                ; +0x60, 0x10047f048\nBLR             X8                                                     ; +0x64, 0x10047f04c\nMOV             X19, #0                                                ; +0x68, 0x10047f050\nMOV             X0, X19                                                ; +0x6c, 0x10047f054\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x70, 0x10047f058\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x74, 0x10047f05c\nRET                                                                    ; +0x78, 0x10047f060", "xrefs": ["PlayLayer::createObjectsFromSetupFinished @ 0x1001451a8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}