// // sub_1007173F0 from 0x1007173f0 to 0x100717465 (117 bytes) // // 4 xrefs: // > DS_Dictionary::checkCompatibility @ 0x100159ec6 // > DS_Dictionary::loadRootSubDictFromFile @ 0x10015a1a9 // > DS_Dictionary::loadRootSubDictFromCompressedFile @ 0x10015a4fb // > DS_Dictionary::loadRootSubDictFromString @ 0x10015a7b8 // // 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:36:08 +0000 // __int64 __fastcall sub_1007173F0(__int64 a1, unsigned int a2) { __int64 result; // rax const char *v3; // rdi const char *v4; // rax __int64 v5; // rdx _BOOL8 v6; // rcx int v7; // edx unsigned __int8 v8; // al result = a2; if ( *(_QWORD *)a1 ) { v3 = *(const char **)(*(_QWORD *)a1 + 16LL); if ( v3 ) { v4 = v3; do v5 = *(unsigned __int8 *)v4++; while ( (a7_0[v5] & 8) != 0 ); v6 = (_BYTE)v5 == 45; v7 = 10; if ( v4[v6 - 1] == 48 ) { v8 = v4[v6]; v7 = 16; if ( v8 != 120 ) { v7 = 10; if ( v8 == 88 ) v7 = 16; } } return strtol(v3, nullptr, v7); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source