// // sub_100306A04 from 0x100306a04 to 0x100306ac0 (188 bytes) // // 9 xrefs: // > sub_10024AB70 @ 0x10024ac34 // > sub_100263BA4 @ 0x100263c60 // > sub_1003EDC8C @ 0x1003edd90 // > sub_100494DB0 @ 0x100494e60 // > sub_100494DB0 @ 0x100494e74 // > sub_1004F3BD8 @ 0x1004f3c70 // > sub_1004F3BD8 @ 0x1004f3c84 // > sub_100522F10 @ 0x100522fa0 // > sub_100540A30 @ 0x100540b34 // // 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:03:08 +0000 // __int64 __fastcall sub_100306A04(__int64 result, __int64 a2, const char *a3) { __int64 v3; // x8 unsigned int *v4; // x9 __int64 v5; // x8 __int64 v8; // x20 _QWORD *v9; // x23 unsigned __int64 v10; // x24 __int64 v11; // x22 const char *v12; // x0 v3 = *(_QWORD *)(result + 56); if ( v3 ) { v4 = *(unsigned int **)(v3 + 56); v5 = *v4; if ( (_DWORD)v5 ) { v8 = result; v9 = *((_QWORD **)v4 + 2); v10 = (unsigned __int64)&v9[v5 - 1]; do { v11 = *v9; if ( !*v9 ) break; v12 = (const char *)(*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)v11 + 96LL))(*v9); result = strcmp(v12, a3); if ( !(_DWORD)result ) { result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v11 + 80LL))(v11); if ( result == a2 ) return sub_1002E765C(*(_QWORD *)(v8 + 56)); } ++v9; } while ( (unsigned __int64)v9 <= v10 ); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source