; ; EndLevelLayer::onEdit from 0x1004c2050 to 0x1004c20de (142 bytes) ; ; 1 xrefs: ; > EndLevelLayer::customSetup @ 0x1004c105e ; ; 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 ; cmp byte ptr [rdi+26Bh], 0 ; +0x0, 0x1004c2050 jz short loc_1004C205A ; +0x7, 0x1004c2057 retn ; +0x9, 0x1004c2059 push rbp ; +0xa, 0x1004c205a mov rbp, rsp ; +0xb, 0x1004c205b push r14 ; +0xe, 0x1004c205e push rbx ; +0x10, 0x1004c2060 mov byte ptr [rdi+26Bh], 1 ; +0x11, 0x1004c2061 mov rax, [rdi+260h] ; +0x18, 0x1004c2068 mov rbx, rdi ; +0x1f, 0x1004c206f mov rdi, rax ; +0x22, 0x1004c2072 call cocos2d__CCNode__stopAllActions ; +0x25, 0x1004c2075 mov rdi, [rbx+260h] ; +0x2a, 0x1004c207a call cocos2d__CCNode__unscheduleAllSelectors ; +0x31, 0x1004c2081 call FMODAudioEngine__sharedEngine ; +0x36, 0x1004c2086 mov rdi, rax ; +0x3b, 0x1004c208b mov esi, 1 ; +0x3e, 0x1004c208e call FMODAudioEngine__stopAllMusic ; +0x43, 0x1004c2093 mov rdi, [rbx+260h] ; +0x48, 0x1004c2098 call PlayLayer__removeAllObjects ; +0x4f, 0x1004c209f xorps xmm0, xmm0 ; +0x54, 0x1004c20a4 call cocos2d__CCDelayTime__create ; +0x57, 0x1004c20a7 mov r14, rax ; +0x5c, 0x1004c20ac lea rsi, EndLevelLayer__goEdit ; +0x5f, 0x1004c20af mov rdi, rbx ; +0x66, 0x1004c20b6 xor edx, edx ; +0x69, 0x1004c20b9 call cocos2d__CCCallFunc__create ; +0x6b, 0x1004c20bb mov rdi, r14 ; +0x70, 0x1004c20c0 mov rsi, rax ; +0x73, 0x1004c20c3 xor edx, edx ; +0x76, 0x1004c20c6 xor eax, eax ; +0x78, 0x1004c20c8 call sub_1003B5760 ; +0x7a, 0x1004c20ca mov rdi, rbx ; +0x7f, 0x1004c20cf mov rsi, rax ; +0x82, 0x1004c20d2 pop rbx ; +0x85, 0x1004c20d5 pop r14 ; +0x86, 0x1004c20d6 pop rbp ; +0x88, 0x1004c20d8 jmp cocos2d__CCNode__runAction ; +0x89, 0x1004c20d9