// // sub_1007195C4 from 0x1007195c4 to 0x100719788 (452 bytes) // // 1 xrefs: // > @ 0x1009c1d40 // // 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:13:01 +0000 // __int64 __fastcall sub_1007195C4(void **a1, const void **a2, __int64 a3) { _BYTE *v5; // x22 __int64 result; // x0 void **v7; // x21 void *v8; // x0 int v9; // w0 __int64 v10; // x21 int v11; // w8 _QWORD *v12; // x0 int v13; // w22 unsigned int *v14; // x23 int v15; // w24 __int64 v16; // x0 int v17; // w8 __int64 v18; // [xsp+8h] [xbp-48h] BYREF void *v19; // [xsp+10h] [xbp-40h] BYREF _BYTE *v20; // [xsp+18h] [xbp-38h] BYREF v5 = *a2; v19 = nullptr; v20 = v5; v18 = 0; result = sub_10071CFFC(&v19, &v20, a3, &unk_1009C1CE8); if ( (int)result >= 1 ) { v7 = (void **)*a1; if ( *a1 ) { sub_1006FFF60(v7[2]); sub_100704B38(*v7, (void (*)(void))sub_100719490); v8 = v7[3]; if ( v8 ) sub_1006AEDAC(v8); sub_1006AEDAC(v7); *a1 = nullptr; } v9 = sub_1007194B0(&v18); v10 = v18; if ( v9 && (unsigned int)sub_1006FFFA8(*(unsigned __int64 **)(v18 + 16), v20 - v5) ) { memcpy(*(void **)(*(_QWORD *)(v10 + 16) + 8LL), v5, v20 - v5); v11 = sub_100704BB4((unsigned int *)v19); v12 = v19; if ( v11 >= 1 ) { v13 = 0; while ( 1 ) { v14 = (unsigned int *)sub_100704BC8((__int64)v12, v13); if ( (int)sub_100704BB4(v14) > 0 ) break; LABEL_14: sub_10070447C(v14); ++v13; v17 = sub_100704BB4((unsigned int *)v19); v12 = v19; if ( v13 >= v17 ) goto LABEL_15; } v15 = 0; while ( 1 ) { v16 = sub_100704BC8((__int64)v14, v15); *(_DWORD *)(v16 + 16) = v13; if ( !(unsigned int)sub_100704974(*(void ***)v10, v16) ) goto LABEL_18; if ( ++v15 >= (int)sub_100704BB4(v14) ) goto LABEL_14; } } LABEL_15: sub_10070447C(v12); result = sub_1007199C4(v10); if ( (_DWORD)result ) { *(_DWORD *)(v10 + 8) = 0; *a1 = (void *)v10; *a2 = v20; return result; } } if ( !v10 ) { LABEL_19: sub_100706FB0(13, 158, 58, (__int64)"x_name.c", 236); return 0; } LABEL_18: sub_10071BCFC(v10, &unk_1009C1D58); goto LABEL_19; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source