// // sub_1005037D4 from 0x1005037d4 to 0x1005038b4 (224 bytes) // // 1 xrefs: // > FriendPickerPopup::init @ 0x100503448 // // 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:55 +0000 // void __fastcall sub_1005037D4(__int64 a1) { __int64 v2; // x0 unsigned __int64 v3; // x9 void **v4; // x8 __int64 v5; // x10 __int64 v6; // x0 __int64 v7; // x0 void *__p[2]; // [xsp+8h] [xbp-28h] BYREF unsigned __int8 v9; // [xsp+1Fh] [xbp-11h] v2 = *(_QWORD *)(a1 + 864); if ( v2 ) CCTextInputNode::getString(v2, __p); else sub_100009900(__p, ""); v3 = v9; v4 = __p; if ( (v9 & 0x80u) != 0 ) { v4 = (void **)__p[0]; v3 = (unsigned __int64)__p[1]; } if ( v3 ) { v5 = 0; while ( *((_BYTE *)v4 + v5) == 32 ) { if ( v3 == ++v5 ) goto LABEL_16; } if ( v5 != -1 ) { *(_BYTE *)(a1 + 856) = 0; v6 = *(_QWORD *)(a1 + 880); if ( v6 ) (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 912LL))(v6, 140); v7 = GameLevelManager::sharedState(); if ( (unsigned int)sub_1000C9054(v7, (__int64)__p) ) { *(_QWORD *)(GameLevelManager::sharedState() + 1368) = a1 + 784; sub_10051B0F8(a1); } } } LABEL_16: if ( (char)v9 < 0 ) operator delete(__p[0]); }
GD Web Decomp Icon

GD Web Decomp

Raw Source