// // FRequestProfilePage::onGlobalSearch from 0xa4d538 to 0xa4d6d0 (408 bytes) // // 3 xrefs: // > @ 0x54070 // > FRequestProfilePage::init @ 0xa4e678 // > @ 0x1541d50 // // 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:00:03 +0000 // __int64 __fastcall FRequestProfilePage::onGlobalSearch(FRequestProfilePage *this, cocos2d::CCObject *a2) { CCTextInputNode *v3; // x0 void *v4; // x0 GameLevelManager *v5; // x4 __int64 *v6; // x2 GameLevelManager *v7; // x0 int v9; // w0 cocos2d::CCObject *v10; // x0 GameLevelManager *UserSearch; // x0 __int64 v12; // [xsp+30h] [xbp+30h] BYREF __int64 v13; // [xsp+38h] [xbp+38h] void *v14; // [xsp+40h] [xbp+40h] v3 = *((CCTextInputNode **)this + 108); if ( v3 ) { CCTextInputNode::getString(v3, &v12); } else { v12 = 0; v13 = 0; v14 = nullptr; std::string::__init(&v12, &byte_11B8890, 0); } if ( (v12 & 1) != 0 ) { v4 = v14; v5 = (GameLevelManager *)v14; if ( !v13 ) goto LABEL_17; v6 = (__int64 *)((char *)v14 + v13); if ( v14 == (char *)v14 + v13 ) goto LABEL_17; } else { v9 = (int)(unsigned __int8)v12 >> 1; if ( !v9 ) return _stack_chk_guard; v5 = (GameLevelManager *)((char *)&v12 + 1); v6 = (__int64 *)((char *)&v12 + v9 + 1); if ( v6 == (__int64 *)((char *)&v12 + 1) ) return _stack_chk_guard; } v7 = v5; if ( *(_BYTE *)v5 == 32 ) { while ( 1 ) { v7 = (GameLevelManager *)((char *)v7 + 1); if ( v6 == (__int64 *)v7 ) break; if ( *(_BYTE *)v7 != 32 ) { v7 = (GameLevelManager *)((char *)v7 - (__int64)v5); if ( v7 != (GameLevelManager *)-1LL ) goto LABEL_19; break; } } if ( (v12 & 1) != 0 ) goto LABEL_16; } else { LABEL_19: v10 = (cocos2d::CCObject *)GameLevelManager::sharedState(v7); UserSearch = (GameLevelManager *)(unsigned __int8)GameLevelManager::getUserSearch(v10, (char *)&v12); if ( !(_BYTE)UserSearch ) { if ( (v12 & 1) == 0 ) return _stack_chk_guard; goto LABEL_16; } *(_QWORD *)(GameLevelManager::sharedState(UserSearch) + 1368) = (char *)this + 696; (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 97) + 344LL))(*((_QWORD *)this + 97), 0); (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 99) + 344LL))(*((_QWORD *)this + 99), 1); if ( (v12 & 1) != 0 ) { LABEL_16: v4 = v14; LABEL_17: operator delete(v4); } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source