// // EmoteSprite::defForName from 0x6e0bc4 to 0x6e0d18 (340 bytes) // // 4 xrefs: // > EmoteSprite::parseTokens @ 0x6e0e9c // > EmoteSprite::createWithName @ 0x6e1688 // > EmotePickerPopup::onBuildWindowContent @ 0xcbaa14 // > @ 0x88f18 // // 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 12:51:39 +0000 // __int64 __fastcall EmoteSprite::defForName(char *a1) { char v2; // w0 __int64 v3; // x0 unsigned __int64 v4; // x1 unsigned __int8 v5; // w3 unsigned __int64 v6; // x0 int v7; // w4 _BYTE *v8; // x2 unsigned int v9; // w1 char *v10; // x1 __int64 *v11; // x0 __int64 v12; // x19 __int64 v14; // [xsp+30h] [xbp+30h] BYREF unsigned __int64 v15; // [xsp+38h] [xbp+38h] void *v16; // [xsp+40h] [xbp+40h] ensureEmotesAreLoaded(); v14 = 0; v2 = *a1; v15 = 0; v16 = nullptr; if ( (v2 & 1) != 0 ) { std::string::__init(&v14, *((void **)a1 + 2), *((_QWORD *)a1 + 1)); } else { v3 = *(_QWORD *)a1; v4 = *((_QWORD *)a1 + 1); v16 = *((void **)a1 + 2); v14 = v3; v15 = v4; } v5 = v14; v6 = 0; v7 = v14 & 1; LABEL_4: while ( !v7 ) { if ( v6 >= v5 >> 1 ) goto LABEL_14; v10 = (char *)&v14 + v6++; v8 = (char *)&v14 + v6; v9 = (unsigned __int8)v10[1]; if ( v9 > 0x40 && v9 <= 0x5A ) { LABEL_11: *v8 = v9 + 32; v5 = v14; v7 = v14 & 1; } } while ( v6 < v15 ) { v8 = (char *)v16 + v6; v9 = *((unsigned __int8 *)v16 + v6); if ( v9 > 0x40 ) { ++v6; if ( v9 > 0x5A ) goto LABEL_4; goto LABEL_11; } ++v6; } LABEL_14: v11 = std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::find( (__int64)&qword_155C2F8, (__int64)&v14); if ( v11 == &qword_155C300 ) v12 = 0; else v12 = v11[7]; if ( (v14 & 1) != 0 ) operator delete(v16); return v12; }
GD Web Decomp Icon

GD Web Decomp

Raw Source