// // sub_1005B5478 from 0x1005b5478 to 0x1005b55e4 (364 bytes) // // 1 xrefs: // > sub_1005B55E4 @ 0x1005b5650 // // 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 // __int64 __fastcall sub_1005B5478(__int64 a1, __int64 *a2, __int64 a3, int *a4, __int64 *a5) { int v10; // w8 _BOOL8 v11; // x20 __int64 *v13; // x0 __int64 *v14; // x24 int v15; // w25 v10 = *(_DWORD *)(a3 + 8); if ( v10 != 1 ) { if ( !v10 ) return sub_1005AB128(a1, 1); goto LABEL_6; } if ( **(_QWORD **)a3 != 1 ) { LABEL_6: sub_1005ABC90((__int64)a5); v13 = sub_1005ABDFC(a5); v14 = v13; if ( v13 ) { if ( (unsigned int)sub_1005B4454((__int64)v13, a2, a4) ) { v15 = sub_1005AAC20(a3) - 2; if ( v15 < 0 ) { LABEL_14: v11 = sub_1005AAFFC(a1, (__int64)v14) != 0; } else { while ( 1 ) { if ( !sub_1005B4C30((__int64)v14, v14, a4, a5) ) { v11 = 0; goto LABEL_19; } if ( (unsigned int)sub_1005AB5F4(a3, v15) && !(unsigned int)sub_1005B4934((__int64)v14, (__int64)v14, (__int64)a2, a4, (__int64)a5) ) { break; } if ( v15-- <= 0 ) goto LABEL_14; } v11 = 0; } } else { v11 = 0; } } else { v11 = 0; } LABEL_19: sub_1005ABD78((__int64)a5); return v11; } return sub_1005AAFFC(a1, (__int64)a2) != 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source