; ; GJGameLevel::scoreStringToVector from 0x14016d680 to 0x14016d810 (400 bytes) ; ; 3 xrefs: ; > GJGameLevel::storeNewLocalScore @ 0x14016d468 ; > LevelLeaderboard::getLocalScores @ 0x1403021a2 ; > @ 0x1406cae18 ; ; 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 ; mov [rsp-8+arg_0], rbx ; +0x0, 0x14016d680 push rbp ; +0x5, 0x14016d685 lea rbp, [rsp-60h] ; +0x6, 0x14016d686 sub rsp, 160h ; +0xb, 0x14016d68b mov rax, cs:__security_cookie ; +0x12, 0x14016d692 xor rax, rsp ; +0x19, 0x14016d699 mov [rbp+60h+var_10], rax ; +0x1c, 0x14016d69c mov rbx, r8 ; +0x20, 0x14016d6a0 cmp qword ptr [rdx+10h], 0 ; +0x23, 0x14016d6a3 jz loc_14016D7F3 ; +0x28, 0x14016d6a8 lea rcx, [rsp+160h+var_130] ; +0x2e, 0x14016d6ae call sub_140178B00 ; +0x33, 0x14016d6b3 nop ; +0x38, 0x14016d6b8 xorps xmm0, xmm0 ; +0x39, 0x14016d6b9 movups xmmword ptr [rbp+60h+String], xmm0 ; +0x3c, 0x14016d6bc mov [rbp+60h+var_20], 0 ; +0x40, 0x14016d6c0 mov [rbp+60h+var_18], 0Fh ; +0x48, 0x14016d6c8 mov byte ptr [rbp+60h+String], 0 ; +0x50, 0x14016d6d0 lea rdx, [rbp+60h+String] ; +0x54, 0x14016d6d4 lea rcx, [rsp+160h+var_130] ; +0x58, 0x14016d6d8 call sub_140179B40 ; +0x5d, 0x14016d6dd mov rcx, [rax] ; +0x62, 0x14016d6e2 movsxd rcx, dword ptr [rcx+4] ; +0x65, 0x14016d6e5 add rcx, rax ; +0x69, 0x14016d6e9 call cs:??Bios_base@std@@QEBA_NXZ; std::ios_base::operator bool(void) ; +0x6c, 0x14016d6ec test al, al ; +0x72, 0x14016d6f2 jz short loc_14016D75A ; +0x74, 0x14016d6f4 nop word ptr [rax+rax+00000000h] ; +0x76, 0x14016d6f6 lea rcx, [rbp+60h+String] ; +0x80, 0x14016d700 cmp [rbp+60h+var_18], 0Fh ; +0x84, 0x14016d704 cmova rcx, [rbp+60h+String]; String ; +0x89, 0x14016d709 call cs:atoi ; +0x8e, 0x14016d70e mov [rsp+160h+var_140], eax ; +0x94, 0x14016d714 mov rdx, [rbx+8] ; +0x98, 0x14016d718 cmp rdx, [rbx+10h] ; +0x9c, 0x14016d71c jz short loc_14016D72B ; +0xa0, 0x14016d720 mov [rdx], eax ; +0xa2, 0x14016d722 add qword ptr [rbx+8], 4 ; +0xa4, 0x14016d724 jmp short loc_14016D738 ; +0xa9, 0x14016d729 lea r8, [rsp+160h+var_140] ; +0xab, 0x14016d72b mov rcx, rbx ; +0xb0, 0x14016d730 call sub_140063270 ; +0xb3, 0x14016d733 lea rdx, [rbp+60h+String] ; +0xb8, 0x14016d738 lea rcx, [rsp+160h+var_130] ; +0xbc, 0x14016d73c call sub_140179B40 ; +0xc1, 0x14016d741 mov rcx, [rax] ; +0xc6, 0x14016d746 movsxd rcx, dword ptr [rcx+4] ; +0xc9, 0x14016d749 add rcx, rax ; +0xcd, 0x14016d74d call cs:??Bios_base@std@@QEBA_NXZ; std::ios_base::operator bool(void) ; +0xd0, 0x14016d750 test al, al ; +0xd6, 0x14016d756 jnz short loc_14016D700 ; +0xd8, 0x14016d758 mov rdx, [rbp+60h+var_18] ; +0xda, 0x14016d75a cmp rdx, 0Fh ; +0xde, 0x14016d75e jbe short loc_14016D798 ; +0xe2, 0x14016d762 inc rdx ; +0xe4, 0x14016d764 mov rcx, [rbp+60h+String]; Block ; +0xe7, 0x14016d767 mov rax, rcx ; +0xeb, 0x14016d76b cmp rdx, 1000h ; +0xee, 0x14016d76e jb short loc_14016D793 ; +0xf5, 0x14016d775 add rdx, 27h ; ''' ; +0xf7, 0x14016d777 mov rcx, [rcx-8] ; +0xfb, 0x14016d77b sub rax, rcx ; +0xff, 0x14016d77f add rax, 0FFFFFFFFFFFFFFF8h ; +0x102, 0x14016d782 cmp rax, 1Fh ; +0x106, 0x14016d786 jbe short loc_14016D793 ; +0x10a, 0x14016d78a call cs:_invalid_parameter_noinfo_noreturn ; +0x10c, 0x14016d78c db 0CCh ; +0x112, 0x14016d792 call j_j_free ; +0x113, 0x14016d793 mov [rbp+60h+var_20], 0 ; +0x118, 0x14016d798 mov [rbp+60h+var_18], 0Fh ; +0x120, 0x14016d7a0 mov byte ptr [rbp+60h+String], 0 ; +0x128, 0x14016d7a8 mov rax, [rsp+160h+var_130] ; +0x12c, 0x14016d7ac movsxd rcx, dword ptr [rax+4] ; +0x131, 0x14016d7b1 lea rax, ??_7?$basic_stringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@6B@; const std::basic_stringstream,std::allocator>::`vftable' ; +0x135, 0x14016d7b5 mov [rsp+rcx+160h+var_130], rax ; +0x13c, 0x14016d7bc mov rax, [rsp+160h+var_130] ; +0x141, 0x14016d7c1 movsxd rcx, dword ptr [rax+4] ; +0x146, 0x14016d7c6 lea edx, [rcx-98h] ; +0x14a, 0x14016d7ca mov [rsp+rcx+160h+var_134], edx ; +0x150, 0x14016d7d0 lea rcx, [rsp+160h+var_118] ; +0x154, 0x14016d7d4 call sub_140178A10 ; +0x159, 0x14016d7d9 lea rcx, [rsp+160h+var_110] ; +0x15e, 0x14016d7de call cs:??1?$basic_iostream@DU?$char_traits@D@std@@@std@@UEAA@XZ; std::iostream::~iostream>(void) ; +0x163, 0x14016d7e3 lea rcx, [rbp+60h+var_98] ; +0x169, 0x14016d7e9 call cs:??1?$basic_ios@DU?$char_traits@D@std@@@std@@UEAA@XZ; std::ios::~ios>(void) ; +0x16d, 0x14016d7ed mov rcx, [rbp+60h+var_10] ; +0x173, 0x14016d7f3 xor rcx, rsp; StackCookie ; +0x177, 0x14016d7f7 call __security_check_cookie ; +0x17a, 0x14016d7fa mov rbx, [rsp+160h+arg_0] ; +0x17f, 0x14016d7ff add rsp, 160h ; +0x187, 0x14016d807 pop rbp ; +0x18e, 0x14016d80e retn ; +0x18f, 0x14016d80f