// // sub_C7478 from 0xc7478 to 0xc7514 (156 bytes) // // 2 xrefs: // > sub_53094 @ 0x53184 // > @ 0x10ef30 // // This function is hookable on this platform (idp: arm, 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:14:46 +0000 // __int64 __fastcall sub_C7478(__int64 a1, char a2, char a3, char a4) { int v5; // w8 __int16 v7; // w8 _BYTE v8[16]; // [xsp+0h] [xbp-20h] BYREF if ( (a2 & 1) == 0 ) { v5 = -1; LABEL_5: *(_DWORD *)(a1 + 564) = v5; return 0; } if ( (a3 & 1) == 0 ) { if ( (unsigned int)(*(_DWORD *)(a1 + 564) + 1) > 1 ) return 0; v7 = atomic_load((unsigned int *)(a1 + 100)); if ( (v7 & 0x100) != 0 ) v5 = 0; else v5 = *(_DWORD *)(*(_QWORD *)(a1 + 168) + 69864LL) + 1; goto LABEL_5; } sub_62CEC((__int64)v8, *(_QWORD *)(a1 + 168), 3, (a4 & 1) == 0); *(_DWORD *)(a1 + 564) = 0; sub_51F94((__int64)v8); return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source