// // sub_1007437F0 from 0x1007437f0 to 0x1007439c0 (464 bytes) // // 1 xrefs: // > sub_1007435B8 @ 0x100743658 // // 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:21 +0000 // __int64 sub_1007437F0() { int v0; // w0 __int16 v1; // w2 int v2; // w4 char *v3; // x1 __int64 *v4; // x0 void *v5; // x19 void *v6; // x20 void *v7; // x21 __int64 (__fastcall *v8)(_QWORD); // x0 __int64 result; // x0 __int64 v10; // [xsp+8h] [xbp-28h] BYREF if ( qword_100A0F5E0 ) { v0 = dword_100A0F5D4; if ( !dword_100A0F5D4 ) { v0 = sub_100707AE4(); dword_100A0F5D4 = v0; } v1 = 100; v2 = 399; } else { if ( qword_100A0F5D8 ) v3 = (char *)qword_100A0F5D8; else v3 = "swift"; v4 = sub_1006FC118(nullptr, v3, 0, 0); qword_100A0F5E0 = (__int64)v4; if ( v4 ) { v5 = (void *)sub_1006FC348((__int64)v4, (__int64)"swAcquireAccContext"); if ( v5 && (v6 = (void *)sub_1006FC348(qword_100A0F5E0, (__int64)"swAttachKeyParam")) != nullptr && (v7 = (void *)sub_1006FC348(qword_100A0F5E0, (__int64)"swSimpleRequest")) != nullptr && (v8 = (__int64 (__fastcall *)(_QWORD))sub_1006FC348(qword_100A0F5E0, (__int64)"swReleaseAccContext")) != nullptr ) { off_100A3B378 = v5; off_100A3B380 = v6; off_100A3B388 = v7; off_100A3B390 = v8; if ( !((__int64 (__fastcall *)(__int64 *))v5)(&v10) ) { off_100A3B390(v10); return 1; } v0 = dword_100A0F5D4; if ( !dword_100A0F5D4 ) { v0 = sub_100707AE4(); dword_100A0F5D4 = v0; } v1 = 108; v2 = 428; } else { v0 = dword_100A0F5D4; if ( !dword_100A0F5D4 ) { v0 = sub_100707AE4(); dword_100A0F5D4 = v0; } v1 = 106; v2 = 416; } } else { v0 = dword_100A0F5D4; if ( !dword_100A0F5D4 ) { v0 = sub_100707AE4(); dword_100A0F5D4 = v0; } v1 = 106; v2 = 405; } } sub_100706FB0(v0, 104, v1, (__int64)"e_cswift.c", v2); if ( qword_100A0F5E0 ) { sub_1006FC01C((__int64 *)qword_100A0F5E0); qword_100A0F5E0 = 0; } result = 0; off_100A3B378 = nullptr; off_100A3B380 = nullptr; off_100A3B388 = nullptr; off_100A3B390 = nullptr; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source