{"type": "func", "start": 4298662272, "end": 4298662390, "name": "EndPortalObject::triggerObject", "pseudocode": "// \n// EndPortalObject::triggerObject from 0x100386180 to 0x1003861f6 (118 bytes)\n// \n// 1 xrefs:\n// > PlayLayer::checkForEnd @ 0x100088d00\n// \n// This function is hookable on this platform (idp: pc, 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 12:29:10 +0000\n// \n\nvoid __fastcall EndPortalObject::triggerObject(__int64 a1)\n{\n  __int64 v1; // rax\n  __int64 v2; // rax\n  __int64 *v3; // r14\n  _QWORD v4[4]; // [rsp+0h] [rbp-20h] BYREF\n\n  v4[0] = v1;\n  if ( !*(_BYTE *)(*(_QWORD *)(*(_QWORD *)(GameManager::sharedState() + 544) + 3256LL) + 2424LL) )\n  {\n    v2 = GameManager::sharedState();\n    UILayer::disableMenu(*(_QWORD *)(*(_QWORD *)(v2 + 544) + 13288LL));\n    v3 = *(__int64 **)(GameManager::sharedState() + 544);\n    (*(void (__fastcall **)(_QWORD *, __int64))(*(_QWORD *)a1 + 1816LL))(v4, a1);\n    PlayLayer::playEndAnimationToPos(v3, (__int64)v4);\n  }\n}", "assembly": "; \n; EndPortalObject::triggerObject from 0x100386180 to 0x1003861f6 (118 bytes)\n; \n; 1 xrefs:\n; > PlayLayer::checkForEnd @ 0x100088d00\n; \n; This function is hookable on this platform (idp: pc, 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 12:29:10 +0000\n; \npush    rbp                                                            ; +0x0, 0x100386180\nmov     rbp, rsp                                                       ; +0x1, 0x100386181\npush    r15                                                            ; +0x4, 0x100386184\npush    r14                                                            ; +0x6, 0x100386186\npush    rbx                                                            ; +0x8, 0x100386188\npush    rax                                                            ; +0x9, 0x100386189\nmov     rbx, rdi                                                       ; +0xa, 0x10038618a\ncall    GameManager__sharedState                                       ; +0xd, 0x10038618d\nmov     rax, [rax+220h]                                                ; +0x12, 0x100386192\nmov     rax, [rax+0CB8h]                                               ; +0x19, 0x100386199\ncmp     byte ptr [rax+978h], 0                                         ; +0x20, 0x1003861a0\njnz     short loc_1003861EB                                            ; +0x27, 0x1003861a7\ncall    GameManager__sharedState                                       ; +0x29, 0x1003861a9\nmov     rax, [rax+220h]                                                ; +0x2e, 0x1003861ae\nmov     rdi, [rax+33E8h]                                               ; +0x35, 0x1003861b5\ncall    UILayer__disableMenu                                           ; +0x3c, 0x1003861bc\ncall    GameManager__sharedState                                       ; +0x41, 0x1003861c1\nmov     r14, [rax+220h]                                                ; +0x46, 0x1003861c6\nmov     rax, [rbx]                                                     ; +0x4d, 0x1003861cd\nlea     r15, [rbp+var_20]                                              ; +0x50, 0x1003861d0\nmov     rdi, r15                                                       ; +0x54, 0x1003861d4\nmov     rsi, rbx                                                       ; +0x57, 0x1003861d7\ncall    qword ptr [rax+718h]                                           ; +0x5a, 0x1003861da\nmov     rdi, r14                                                       ; +0x60, 0x1003861e0\nmov     rsi, r15                                                       ; +0x63, 0x1003861e3\ncall    PlayLayer__playEndAnimationToPos                               ; +0x66, 0x1003861e6\nadd     rsp, 8                                                         ; +0x6b, 0x1003861eb\npop     rbx                                                            ; +0x6f, 0x1003861ef\npop     r14                                                            ; +0x70, 0x1003861f0\npop     r15                                                            ; +0x72, 0x1003861f2\npop     rbp                                                            ; +0x74, 0x1003861f4\nretn                                                                   ; +0x75, 0x1003861f5", "xrefs": ["PlayLayer::checkForEnd @ 0x100088d00"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}