; ; EndLevelLayer::onEdit from 0x1004bb030 to 0x1004bb0be (142 bytes) ; ; 1 xrefs: ; > EndLevelLayer::customSetup @ 0x1004b9fca ; ; 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:31:03 +0000 ; cmp byte ptr [rdi+26Bh], 0 ; +0x0, 0x1004bb030 jz short loc_1004BB03A ; +0x7, 0x1004bb037 retn ; +0x9, 0x1004bb039 push rbp ; +0xa, 0x1004bb03a mov rbp, rsp ; +0xb, 0x1004bb03b push r14 ; +0xe, 0x1004bb03e push rbx ; +0x10, 0x1004bb040 mov byte ptr [rdi+26Bh], 1 ; +0x11, 0x1004bb041 mov rax, [rdi+260h] ; +0x18, 0x1004bb048 mov rbx, rdi ; +0x1f, 0x1004bb04f mov rdi, rax ; +0x22, 0x1004bb052 call cocos2d__CCNode__stopAllActions ; +0x25, 0x1004bb055 mov rdi, [rbx+260h] ; +0x2a, 0x1004bb05a call cocos2d__CCNode__unscheduleAllSelectors ; +0x31, 0x1004bb061 call FMODAudioEngine__sharedEngine ; +0x36, 0x1004bb066 mov rdi, rax ; +0x3b, 0x1004bb06b mov esi, 1 ; +0x3e, 0x1004bb06e call FMODAudioEngine__stopAllMusic ; +0x43, 0x1004bb073 mov rdi, [rbx+260h] ; +0x48, 0x1004bb078 call PlayLayer__removeAllObjects ; +0x4f, 0x1004bb07f xorps xmm0, xmm0 ; +0x54, 0x1004bb084 call cocos2d__CCDelayTime__create ; +0x57, 0x1004bb087 mov r14, rax ; +0x5c, 0x1004bb08c lea rsi, EndLevelLayer__goEdit ; +0x5f, 0x1004bb08f mov rdi, rbx ; +0x66, 0x1004bb096 xor edx, edx ; +0x69, 0x1004bb099 call cocos2d__CCCallFunc__create ; +0x6b, 0x1004bb09b mov rdi, r14 ; +0x70, 0x1004bb0a0 mov rsi, rax ; +0x73, 0x1004bb0a3 xor edx, edx ; +0x76, 0x1004bb0a6 xor eax, eax ; +0x78, 0x1004bb0a8 call sub_10039EB60 ; +0x7a, 0x1004bb0aa mov rdi, rbx ; +0x7f, 0x1004bb0af mov rsi, rax ; +0x82, 0x1004bb0b2 pop rbx ; +0x85, 0x1004bb0b5 pop r14 ; +0x86, 0x1004bb0b6 pop rbp ; +0x88, 0x1004bb0b8 jmp cocos2d__CCNode__runAction ; +0x89, 0x1004bb0b9