; ; EndPortalObject::triggerObject from 0x10039c810 to 0x10039c886 (118 bytes) ; ; 1 xrefs: ; > PlayLayer::checkForEnd @ 0x1000bb000 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; push rbp ; +0x0, 0x10039c810 mov rbp, rsp ; +0x1, 0x10039c811 push r15 ; +0x4, 0x10039c814 push r14 ; +0x6, 0x10039c816 push rbx ; +0x8, 0x10039c818 push rax ; +0x9, 0x10039c819 mov rbx, rdi ; +0xa, 0x10039c81a call GameManager__sharedState ; +0xd, 0x10039c81d mov rax, [rax+1F8h] ; +0x12, 0x10039c822 mov rax, [rax+0CA0h] ; +0x19, 0x10039c829 cmp byte ptr [rax+970h], 0 ; +0x20, 0x10039c830 jnz short loc_10039C87B ; +0x27, 0x10039c837 call GameManager__sharedState ; +0x29, 0x10039c839 mov rax, [rax+1F8h] ; +0x2e, 0x10039c83e mov rdi, [rax+3330h] ; +0x35, 0x10039c845 call UILayer__disableMenu ; +0x3c, 0x10039c84c call GameManager__sharedState ; +0x41, 0x10039c851 mov r14, [rax+1F8h] ; +0x46, 0x10039c856 mov rax, [rbx] ; +0x4d, 0x10039c85d lea r15, [rbp+var_20] ; +0x50, 0x10039c860 mov rdi, r15 ; +0x54, 0x10039c864 mov rsi, rbx ; +0x57, 0x10039c867 call qword ptr [rax+708h] ; +0x5a, 0x10039c86a mov rdi, r14 ; +0x60, 0x10039c870 mov rsi, r15 ; +0x63, 0x10039c873 call PlayLayer__playEndAnimationToPos ; +0x66, 0x10039c876 add rsp, 8 ; +0x6b, 0x10039c87b pop rbx ; +0x6f, 0x10039c87f pop r14 ; +0x70, 0x10039c880 pop r15 ; +0x72, 0x10039c882 pop rbp ; +0x74, 0x10039c884 retn ; +0x75, 0x10039c885