// // FriendPickerPopup::onGlobalSearch from 0xc7063c to 0xc707c8 (396 bytes) // // 3 xrefs: // > @ 0xadf50 // > FriendPickerPopup::init @ 0xc696a8 // > @ 0x1544f20 // // 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 13:05:30 +0000 // __int64 __fastcall FriendPickerPopup::onGlobalSearch(FriendPickerPopup *this, cocos2d::CCObject *a2) { CCTextInputNode *v3; // x0 void *v4; // x0 _BYTE *v5; // x4 __int64 *v6; // x2 _BYTE *v7; // x0 int v9; // w0 GameLevelManager *v10; // x0 cocos2d::CCObject *v11; // x0 GameLevelManager *UserSearch; // x0 __int64 v13; // [xsp+30h] [xbp+30h] BYREF __int64 v14; // [xsp+38h] [xbp+38h] void *v15; // [xsp+40h] [xbp+40h] v3 = *((CCTextInputNode **)this + 108); if ( v3 ) { CCTextInputNode::getString(v3, &v13); } else { v13 = 0; v14 = 0; v15 = nullptr; std::string::__init(&v13, &byte_11B8890, 0); } if ( (v13 & 1) != 0 ) { v4 = v15; v5 = v15; if ( !v14 ) goto LABEL_17; v6 = (__int64 *)((char *)v15 + v14); if ( v15 == (char *)v15 + v14 ) goto LABEL_17; } else { v9 = (int)(unsigned __int8)v13 >> 1; if ( !v9 ) return _stack_chk_guard; v5 = (char *)&v13 + 1; v6 = (__int64 *)((char *)&v13 + v9 + 1); if ( v6 == (__int64 *)((char *)&v13 + 1) ) return _stack_chk_guard; } v7 = v5; if ( *v5 == 32 ) { while ( v6 != (__int64 *)++v7 ) { if ( *v7 != 32 ) { if ( v7 - v5 != -1 ) goto LABEL_19; break; } } if ( (v13 & 1) != 0 ) goto LABEL_16; } else { LABEL_19: v10 = *((GameLevelManager **)this + 110); *((_BYTE *)this + 856) = 0; if ( v10 ) v10 = (GameLevelManager *)(*(__int64 (__fastcall **)(GameLevelManager *, __int64))(*(_QWORD *)v10 + 912LL))( v10, 4294967180LL); v11 = (cocos2d::CCObject *)GameLevelManager::sharedState(v10); UserSearch = (GameLevelManager *)(unsigned __int8)GameLevelManager::getUserSearch(v11, (char *)&v13); if ( !(_BYTE)UserSearch ) { if ( (v13 & 1) == 0 ) return _stack_chk_guard; goto LABEL_16; } *(_QWORD *)(GameLevelManager::sharedState(UserSearch) + 1368) = (char *)this + 784; PagedListPopup::showLoading(this); if ( (v13 & 1) != 0 ) { LABEL_16: v4 = v15; LABEL_17: operator delete(v4); } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source