; ; EndLevelLayer::onLevelLeaderboard from 0x1004bb220 to 0x1004bb290 (112 bytes) ; ; 1 xrefs: ; > EndLevelLayer::customSetup @ 0x1004ba15b ; ; 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 ; push rbp ; +0x0, 0x1004bb220 mov rbp, rsp ; +0x1, 0x1004bb221 push r14 ; +0x4, 0x1004bb224 push rbx ; +0x6, 0x1004bb226 cmp byte ptr [rdi+26Bh], 0 ; +0x7, 0x1004bb227 jnz short loc_1004BB28B ; +0xe, 0x1004bb22e mov rax, [rdi+260h] ; +0x10, 0x1004bb230 test rax, rax ; +0x17, 0x1004bb237 jz short loc_1004BB28B ; +0x1a, 0x1004bb23a mov rbx, [rax+790h] ; +0x1c, 0x1004bb23c call GameManager__sharedState ; +0x23, 0x1004bb243 lea rsi, a0098; "0098" ; +0x28, 0x1004bb248 mov rdi, rax ; +0x2f, 0x1004bb24f call GameManager__getIntGameVariable ; +0x32, 0x1004bb252 mov r14d, eax ; +0x37, 0x1004bb257 call GameManager__sharedState ; +0x3a, 0x1004bb25a lea rsi, a0164; "0164" ; +0x3f, 0x1004bb25f mov rdi, rax ; +0x46, 0x1004bb266 call GameManager__getIntGameVariable ; +0x49, 0x1004bb269 mov rdi, rbx ; +0x4e, 0x1004bb26e mov esi, r14d ; +0x51, 0x1004bb271 mov edx, eax ; +0x54, 0x1004bb274 call LevelLeaderboard__create ; +0x56, 0x1004bb276 mov rcx, [rax] ; +0x5b, 0x1004bb27b mov rdi, rax ; +0x5e, 0x1004bb27e pop rbx ; +0x61, 0x1004bb281 pop r14 ; +0x62, 0x1004bb282 pop rbp ; +0x64, 0x1004bb284 jmp qword ptr [rcx+520h] ; +0x65, 0x1004bb285 pop rbx ; +0x6b, 0x1004bb28b pop r14 ; +0x6c, 0x1004bb28c pop rbp ; +0x6e, 0x1004bb28e retn ; +0x6f, 0x1004bb28f