// // unknown_libname_35 from 0x18012c1c8 to 0x18012c23d (117 bytes) // // 4 xrefs: // > sub_18012D394 @ 0x18012d56b // > sub_18012D394 @ 0x18012d5ac // > sub_18012D394 @ 0x18012d5d9 // > @ 0x180202bb8 // // 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 // // Microsoft VisualC 64bit universal runtime __int64 __fastcall unknown_libname_35(__int64 *a1, char a2, int a3, int *a4) { int v4; // r10d int i; // r11d __int64 result; // rax if ( a3 > 0 ) { v4 = *a4; for ( i = 0; i < a3; ++i ) { result = *(_QWORD *)(*a1 + 8); if ( *(_QWORD *)(*a1 + 16) == result ) { if ( *(_BYTE *)(*a1 + 24) ) ++v4; else v4 = -1; *a4 = v4; } else { *a4 = v4 + 1; ++*(_QWORD *)(*a1 + 16); **(_BYTE **)*a1 = a2; result = *a1; ++*(_QWORD *)*a1; v4 = *a4; } if ( v4 == -1 ) break; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source