// // sub_1002526AC from 0x1002526ac to 0x100252724 (120 bytes) // // 1 xrefs: // > sub_100251B2C @ 0x1002521a8 // // 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 11:01:32 +0000 // __int64 __fastcall sub_1002526AC(__int64 result) { bool v1; // w8 __int64 v2; // x9 __int64 v3; // x19 __int64 v4; // x20 v1 = (*(_BYTE *)(result + 1052) & 1) == 0; *(_BYTE *)(result + 1052) = v1; v2 = *(_QWORD *)(result + 680); if ( v2 ) { *(_BYTE *)(v2 + 1637) = v1; } else { v3 = result; result = *(_QWORD *)(result + 688); if ( result ) { result = sub_1002E757C(result); if ( (_DWORD)result ) { v4 = 0; do { *(_BYTE *)(sub_1002E75A0(*(_QWORD *)(v3 + 688), v4) + 1637) = *(_BYTE *)(v3 + 1052); v4 = (unsigned int)(v4 + 1); result = sub_1002E757C(*(_QWORD *)(v3 + 688)); } while ( (unsigned int)v4 < (unsigned int)result ); } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source