// // sub_14010F9D0 from 0x14010f9d0 to 0x14010fb46 (374 bytes) // // 7 xrefs: // > sub_140103B80 @ 0x140103c02 // > sub_140103B80 @ 0x140103c41 // > GJGameLevel::scoreStringToVector @ 0x140264fe5 // > GJGameLevel::scoreStringToVector @ 0x140265044 // > sub_140633A60 @ 0x140633b03 // > sub_140633A60 @ 0x140633cc8 // > @ 0x140915cc8 // // 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 11:26:49 +0000 // // Hidden C++ exception states: #wind=3 __int64 __fastcall sub_14010F9D0(__int64 a1, __int64 a2, unsigned __int8 a3) { int v3; // r15d __int64 v4; // r14 __int64 v5; // rdi unsigned int v6; // ebx char v7; // si __int64 v8; // r12 __int64 v9; // rcx _BYTE *v10; // rax __int64 v11; // r8 int i; // eax __int64 v13; // rcx unsigned int v15; // [rsp+20h] [rbp-48h] char v18; // [rsp+88h] [rbp+20h] v3 = a3; v4 = a2; v5 = a1; v6 = 0; v15 = 0; v7 = 0; v18 = 0; v8 = a1; v9 = *(_QWORD *)(*(int *)(*(_QWORD *)a1 + 4LL) + a1 + 72); if ( v9 ) (*(void (__fastcall **)(__int64))(*(_QWORD *)v9 + 8LL))(v9); LOBYTE(a2) = 1; if ( !(unsigned __int8)std::istream::_Ipfx(v5, a2) ) goto LABEL_15; *(_QWORD *)(v4 + 16) = 0; v10 = (_BYTE *)v4; if ( *(_QWORD *)(v4 + 24) > 0xFu ) v10 = *(_BYTE **)v4; try { *v10 = 0; for ( i = std::streambuf::sgetc(*(_QWORD *)(*(int *)(*(_QWORD *)v5 + 4LL) + v5 + 72)); ; i = std::streambuf::snextc(*(_QWORD *)(*(int *)(*(_QWORD *)v5 + 4LL) + v5 + 72)) ) { if ( i == -1 ) { v6 = 1; goto LABEL_12; } if ( i == v3 ) { v7 = 1; v18 = 1; std::streambuf::sbumpc(*(_QWORD *)(*(int *)(*(_QWORD *)v5 + 4LL) + v5 + 72)); goto LABEL_20; } if ( *(_QWORD *)(v4 + 16) >= 0x7FFFFFFFFFFFFFFFuLL ) break; sub_14003DBD0((void **)v4, i); v7 = 1; v18 = 1; } v6 = 2; LABEL_12: v15 = v6; } catch ( ... ) { LOBYTE(v11) = 1; std::ios::setstate(a1 + *(int *)(*(_QWORD *)a1 + 4LL), 4, v11); v5 = a1; v6 = v15; v7 = v18; v8 = a1; } LABEL_20: if ( !v7 ) LABEL_15: v6 |= 2u; std::ios::setstate(v5 + *(int *)(*(_QWORD *)v5 + 4LL), v6, 0); v13 = *(_QWORD *)(*(int *)(*(_QWORD *)v8 + 4LL) + v8 + 72); if ( v13 ) (*(void (__fastcall **)(__int64))(*(_QWORD *)v13 + 16LL))(v13); return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source