// // sub_1004FD38C from 0x1004fd38c to 0x1004fd414 (136 bytes) // // 1 xrefs: // > ThreadViewPopup::onSend @ 0x1004f9c4c // // 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:06:51 +0000 // __int64 __fastcall sub_1004FD38C(__int64 *a1, char *__s, unsigned __int64 a3) { __int64 v5; // x19 unsigned __int64 v6; // x23 size_t v7; // x0 bool v8; // cc unsigned __int64 v9; // x23 size_t v10; // x21 char *v11; // x22 v5 = (__int64)a1; v6 = *((char *)a1 + 23); if ( (v6 & 0x8000000000000000LL) != 0 ) { v5 = *a1; v6 = a1[1]; } v7 = strlen(__s); v8 = v6 > a3; v9 = v6 - a3; if ( !v8 ) return -1; v10 = v7; v11 = (char *)(v5 + a3); if ( v7 ) { while ( memchr(__s, *v11, v10) ) { ++v11; if ( !--v9 ) return -1; } } return (__int64)&v11[-v5]; }
GD Web Decomp Icon

GD Web Decomp

Raw Source