// // -[GJFileBridge documentPicker:didPickDocumentsAtURLs:] from 0x1001f9c30 to 0x1001f9d74 (324 bytes) // // 1 xrefs: // > @ 0x1009cdb28 // // 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:00:42 +0000 // void __cdecl -[GJFileBridge documentPicker:didPickDocumentsAtURLs:](GJFileBridge *self, SEL a2, id a3, id a4) { void *v6; // x21 __int64 v7; // x22 void *v8; // x23 void *v9; // x0 PlatformFileDelegate *delegate; // x0 void *__p[2]; // [xsp+8h] [xbp-128h] BYREF char v12; // [xsp+1Fh] [xbp-111h] __int128 v13; // [xsp+20h] [xbp-110h] BYREF __int128 v14; // [xsp+30h] [xbp-100h] __int128 v15; // [xsp+40h] [xbp-F0h] __int128 v16; // [xsp+50h] [xbp-E0h] const void *v17[3]; // [xsp+60h] [xbp-D0h] BYREF _BYTE v18[128]; // [xsp+78h] [xbp-B8h] BYREF memset(v17, 0, sizeof(v17)); v13 = 0u; v14 = 0u; v15 = 0u; v16 = 0u; v6 = objc_msgSend(a4, "countByEnumeratingWithState:objects:count:", &v13, v18, 16); if ( v6 ) { v7 = *(_QWORD *)v14; do { v8 = nullptr; do { if ( *(_QWORD *)v14 != v7 ) objc_enumerationMutation(a4); v9 = objc_msgSend(*(id *)(*((_QWORD *)&v13 + 1) + 8LL * (_QWORD)v8), "path"); if ( v9 ) { sub_100009900(__p, (char *)objc_msgSend(v9, "UTF8String")); sub_10006D9F8(v17, (__int128 *)__p); if ( v12 < 0 ) operator delete(__p[0]); } v8 = (char *)v8 + 1; } while ( v6 != v8 ); v6 = objc_msgSend(a4, "countByEnumeratingWithState:objects:count:", &v13, v18, 16); } while ( v6 ); } delegate = self->_delegate; if ( delegate ) (*(void (__fastcall **)(PlatformFileDelegate *, const void **))delegate->var0)(delegate, v17); __p[0] = v17; sub_100018250((void ***)__p); }