// // sub_97539C from 0x97539c to 0x975462 (198 bytes) // // 1 xrefs: // > std::__ndk1::__time_get_storage::__analyze @ 0x974f60 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:05:57 +0000 // int __fastcall sub_97539C(_DWORD *a1, _DWORD *a2, int *a3, int a4, int a5) { _DWORD *v7; // r0 int v10; // r4 int v11; // r11 _DWORD *v12; // r1 int v13; // r4 int v14; // r5 int v15; // r0 int v16; // r0 v7 = (_DWORD *)*a1; if ( v7 == a2 ) { v16 = *a3 | 6; LABEL_14: *a3 = v16; return 0; } v10 = *v7; if ( !(*(int (__fastcall **)(int, int, _DWORD))(*(_DWORD *)a4 + 12))(a4, 64, *v7) ) { v16 = *a3 | 4; goto LABEL_14; } v11 = (*(int (__fastcall **)(int, int, _DWORD))(*(_DWORD *)a4 + 52))(a4, v10, 0) - 48; v12 = (_DWORD *)(*a1 + 4); *a1 = v12; if ( a5 < 2 || v12 == a2 ) { LABEL_9: if ( v12 == a2 ) *a3 |= 2u; } else { v13 = a5 - 1; while ( 1 ) { v14 = *v12; if ( (*(int (__fastcall **)(int, int, _DWORD))(*(_DWORD *)a4 + 12))(a4, 64, *v12) != 1 ) break; v15 = (*(int (__fastcall **)(int, int, _DWORD))(*(_DWORD *)a4 + 52))(a4, v14, 0); v12 = (_DWORD *)(*a1 + 4); v11 = v15 + 10 * v11 - 48; *a1 = v12; if ( v13 >= 2 ) { --v13; if ( v12 != a2 ) continue; } goto LABEL_9; } } return v11; }
GD Web Decomp Icon

GD Web Decomp

Raw Source