; ; EndLevelLayer::getEndText from 0x1004c1db0 to 0x1004c1e5d (173 bytes) ; ; 1 xrefs: ; > EndLevelLayer::customSetup @ 0x1004c0b30 ; ; 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, 0x1004c1db0 mov rbp, rsp ; +0x1, 0x1004c1db1 push rbx ; +0x4, 0x1004c1db4 push rax ; +0x5, 0x1004c1db5 call GameManager__sharedState ; +0x6, 0x1004c1db6 lea rsi, a0095; "0095" ; +0xb, 0x1004c1dbb mov rdi, rax ; +0x12, 0x1004c1dc2 call GameManager__getGameVariable ; +0x15, 0x1004c1dc5 mov ebx, eax ; +0x1a, 0x1004c1dca call _rand ; +0x1c, 0x1004c1dcc test bl, bl ; +0x21, 0x1004c1dd1 jz short loc_1004C1E03 ; +0x23, 0x1004c1dd3 movsxd rcx, eax ; +0x25, 0x1004c1dd5 imul rcx, 51EB851Fh ; +0x28, 0x1004c1dd8 mov rdx, rcx ; +0x2f, 0x1004c1ddf shr rdx, 3Fh ; +0x32, 0x1004c1de2 sar rcx, 25h ; +0x36, 0x1004c1de6 add ecx, edx ; +0x3a, 0x1004c1dea imul ecx, 64h ; 'd' ; +0x3c, 0x1004c1dec not ecx ; +0x3f, 0x1004c1def add ecx, eax ; +0x41, 0x1004c1df1 cmp ecx, 63h ; 'c' ; +0x43, 0x1004c1df3 jnb short loc_1004C1E41 ; +0x46, 0x1004c1df6 mov eax, ecx ; +0x48, 0x1004c1df8 lea rcx, off_10094F5E0; "Took you long enough..." ; +0x4a, 0x1004c1dfa jmp short loc_1004C1E33 ; +0x51, 0x1004c1e01 cdqe ; +0x53, 0x1004c1e03 imul rcx, rax, 38E38E39h ; +0x55, 0x1004c1e05 mov rdx, rcx ; +0x5c, 0x1004c1e0c shr rdx, 3Fh ; +0x5f, 0x1004c1e0f sar rcx, 22h ; +0x63, 0x1004c1e13 add ecx, edx ; +0x67, 0x1004c1e17 add ecx, ecx ; +0x69, 0x1004c1e19 lea ecx, [rcx+rcx*8] ; +0x6b, 0x1004c1e1b neg ecx ; +0x6e, 0x1004c1e1e add eax, ecx ; +0x70, 0x1004c1e20 add eax, 0FFFFFFFEh ; +0x72, 0x1004c1e22 cmp eax, 10h ; +0x75, 0x1004c1e25 jnb short loc_1004C1E4F ; +0x78, 0x1004c1e28 mov eax, eax ; +0x7a, 0x1004c1e2a lea rcx, off_10094F560; "Good Job!" ; +0x7c, 0x1004c1e2c lea rax, [rcx+rax*8] ; +0x83, 0x1004c1e33 mov rax, [rax] ; +0x87, 0x1004c1e37 add rsp, 8 ; +0x8a, 0x1004c1e3a pop rbx ; +0x8e, 0x1004c1e3e pop rbp ; +0x8f, 0x1004c1e3f retn ; +0x90, 0x1004c1e40 lea rax, aDropTheBeat; "DROP THE BEAT" ; +0x91, 0x1004c1e41 add rsp, 8 ; +0x98, 0x1004c1e48 pop rbx ; +0x9c, 0x1004c1e4c pop rbp ; +0x9d, 0x1004c1e4d retn ; +0x9e, 0x1004c1e4e lea rax, aAwesome; "Awesome!" ; +0x9f, 0x1004c1e4f add rsp, 8 ; +0xa6, 0x1004c1e56 pop rbx ; +0xaa, 0x1004c1e5a pop rbp ; +0xab, 0x1004c1e5b retn ; +0xac, 0x1004c1e5c