; ; EndPortalObject::triggerObject from 0x100386180 to 0x1003861f6 (118 bytes) ; ; 1 xrefs: ; > PlayLayer::checkForEnd @ 0x100088d00 ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 12:29:10 +0000 ; push rbp ; +0x0, 0x100386180 mov rbp, rsp ; +0x1, 0x100386181 push r15 ; +0x4, 0x100386184 push r14 ; +0x6, 0x100386186 push rbx ; +0x8, 0x100386188 push rax ; +0x9, 0x100386189 mov rbx, rdi ; +0xa, 0x10038618a call GameManager__sharedState ; +0xd, 0x10038618d mov rax, [rax+220h] ; +0x12, 0x100386192 mov rax, [rax+0CB8h] ; +0x19, 0x100386199 cmp byte ptr [rax+978h], 0 ; +0x20, 0x1003861a0 jnz short loc_1003861EB ; +0x27, 0x1003861a7 call GameManager__sharedState ; +0x29, 0x1003861a9 mov rax, [rax+220h] ; +0x2e, 0x1003861ae mov rdi, [rax+33E8h] ; +0x35, 0x1003861b5 call UILayer__disableMenu ; +0x3c, 0x1003861bc call GameManager__sharedState ; +0x41, 0x1003861c1 mov r14, [rax+220h] ; +0x46, 0x1003861c6 mov rax, [rbx] ; +0x4d, 0x1003861cd lea r15, [rbp+var_20] ; +0x50, 0x1003861d0 mov rdi, r15 ; +0x54, 0x1003861d4 mov rsi, rbx ; +0x57, 0x1003861d7 call qword ptr [rax+718h] ; +0x5a, 0x1003861da mov rdi, r14 ; +0x60, 0x1003861e0 mov rsi, r15 ; +0x63, 0x1003861e3 call PlayLayer__playEndAnimationToPos ; +0x66, 0x1003861e6 add rsp, 8 ; +0x6b, 0x1003861eb pop rbx ; +0x6f, 0x1003861ef pop r14 ; +0x70, 0x1003861f0 pop r15 ; +0x72, 0x1003861f2 pop rbp ; +0x74, 0x1003861f4 retn ; +0x75, 0x1003861f5