{"type": "func", "start": 4299682836, "end": 4299682948, "name": "EndPortalObject::triggerObject", "pseudocode": "// \n// EndPortalObject::triggerObject from 0x10047f414 to 0x10047f484 (112 bytes)\n// \n// 1 xrefs:\n// > PlayLayer::checkForEnd @ 0x100148b70\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\nvoid __fastcall EndPortalObject::triggerObject(__int64 a1)\n{\n  __int64 v2; // x0\n  __int64 v3; // x20\n  __int64 v4; // [xsp+8h] [xbp-18h] BYREF\n\n  if ( (*(_BYTE *)(*(_QWORD *)(*(_QWORD *)(GameManager::sharedState() + 544) + 3256LL) + 2424LL) & 1) == 0 )\n  {\n    v2 = GameManager::sharedState();\n    UILayer::disableMenu(*(_QWORD *)(*(_QWORD *)(v2 + 544) + 13288LL));\n    v3 = *(_QWORD *)(GameManager::sharedState() + 544);\n    (*(void (__fastcall **)(__int64 *__return_ptr, __int64))(*(_QWORD *)a1 + 1816LL))(&v4, a1);\n    PlayLayer::playEndAnimationToPos(v3, (__int64)&v4);\n  }\n}", "assembly": "; \n; EndPortalObject::triggerObject from 0x10047f414 to 0x10047f484 (112 bytes)\n; \n; 1 xrefs:\n; > PlayLayer::checkForEnd @ 0x100148b70\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; \nSUB             SP, SP, #0x30                                          ; +0x0, 0x10047f414\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x10047f418\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x10047f41c\nADD             X29, SP, #0x20                                         ; +0xc, 0x10047f420\nMOV             X19, X0                                                ; +0x10, 0x10047f424\nBL              GameManager__sharedState                               ; +0x14, 0x10047f428\nLDR             X8, [X0,#0x220]                                        ; +0x18, 0x10047f42c\nLDR             X8, [X8,#0xCB8]                                        ; +0x1c, 0x10047f430\nLDRB            W8, [X8,#0x978]                                        ; +0x20, 0x10047f434\nTBNZ            W8, #0, loc_10047F474                                  ; +0x24, 0x10047f438\nBL              GameManager__sharedState                               ; +0x28, 0x10047f43c\nLDR             X8, [X0,#0x220]                                        ; +0x2c, 0x10047f440\nLDR             X0, [X8,#0x33E8]                                       ; +0x30, 0x10047f444\nBL              UILayer__disableMenu                                   ; +0x34, 0x10047f448\nBL              GameManager__sharedState                               ; +0x38, 0x10047f44c\nLDR             X20, [X0,#0x220]                                       ; +0x3c, 0x10047f450\nLDR             X8, [X19]                                              ; +0x40, 0x10047f454\nLDR             X9, [X8,#0x718]                                        ; +0x44, 0x10047f458\nADD             X8, SP, #0x20+var_18                                   ; +0x48, 0x10047f45c\nMOV             X0, X19                                                ; +0x4c, 0x10047f460\nBLR             X9                                                     ; +0x50, 0x10047f464\nADD             X1, SP, #0x20+var_18                                   ; +0x54, 0x10047f468\nMOV             X0, X20                                                ; +0x58, 0x10047f46c\nBL              PlayLayer__playEndAnimationToPos                       ; +0x5c, 0x10047f470\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x60, 0x10047f474\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x64, 0x10047f478\nADD             SP, SP, #0x30 ; '0'                                    ; +0x68, 0x10047f47c\nRET                                                                    ; +0x6c, 0x10047f480", "xrefs": ["PlayLayer::checkForEnd @ 0x100148b70"], "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"}