//
// std::__ndk1::__search GameToolbox::pathSegmentCount @ 0x3d0824
// > GameToolbox::pathSegmentCount @ 0x3d0896
// > GameToolbox::extractServerPopup @ 0x3d0962
// > GameToolbox::keepLastPathSegments @ 0x3d11aa
// > GameToolbox::keepLastPathSegments @ 0x3d1234
// > MultilineBitmapFont::readColorInfo @ 0x3d5542
// > MultilineBitmapFont::readColorInfo @ 0x3d564c
// > MultilineBitmapFont::readColorInfo @ 0x3d57ea
// > MultilineBitmapFont::readColorInfo @ 0x3d5888
// > MultilineBitmapFont::readColorInfo @ 0x3d5934
// > MultilineBitmapFont::readColorInfo @ 0x3d59fe
// > MultilineBitmapFont::readColorInfo @ 0x3d5a80
// > ObjectManager::setup @ 0x3d6db6
// > sub_3D6E64 @ 0x3d6ec2
// > sub_3E45B4 @ 0x3e4668
// > CCTextInputNode::onTextFieldDetachWithIME @ 0x3e482c
// > CCTextInputNode::onTextFieldDetachWithIME @ 0x3e492a
// > FMODAudioEngine::createStream @ 0x3e9734
// > FMODAudioEngine::preloadMusic @ 0x3ef9e6
// > GameLevelManager::onUploadCommentCompleted @ 0x4c555e
// > GameLevelManager::onGetLevelControlsCompleted @ 0x4c6538
// > GameLevelManager::applyLevelControlsSection @ 0x4c759c
// > GameLevelManager::applyDeathBlob @ 0x4d94f0
// > GameLevelManager::applyDeathBlob @ 0x4d958a
// > sub_56F64C @ 0x56f6bc
// > sub_56F64C @ 0x56f7ae
// > MusicSearchResult::getFilesMatchingSearch @ 0x56fa40
// > MusicSearchResult::getFilesMatchingSearch @ 0x56faac
// > MusicSearchResult::getFilesMatchingSearch @ 0x56fb10
// > MusicSearchResult::getFilesMatchingSearch @ 0x56fb7c
// > sub_56FBF4 @ 0x56fc52
// > MusicDownloadManager::linkTypeForURL @ 0x570dc4
// > SFXSearchResult::updateObjects @ 0x57178c
// > MusicDownloadManager::parseNewsFeed @ 0x5743d8
// > sub_587CFC @ 0x5884f4
// > sub_587CFC @ 0x588544
// > sub_5A0304 @ 0x5a03b8
// > GJBaseGameLayer::updateLayerCapacity @ 0x5a0cee
// > CustomSFXWidget::onShowInfo @ 0x6a8050
// > CustomSFXWidget::onShowInfo @ 0x6a80c2
// > FriendPickerPopup::buildRows @ 0x758918
// > InvitesPopup::buildRows @ 0x758d60
// > InvitesPopup::buildRows @ 0x758dd6
// > LevelPickerPopup::updateMatches @ 0x75a65e
// > LevelPickerPopup::updateMatches @ 0x75a6c4
// > LevelPickerPopup::updateMatches @ 0x75a7a4
// > LevelPickerPopup::updateMatches @ 0x75a804
// > cocos2d::extension::WebSocket::init @ 0x7b33d6
// > cocos2d::extension::WebSocket::init @ 0x7b3426
// > cocos2d::extension::WebSocket::init @ 0x7b3480
// > cocos2d::extension::WebSocket::init @ 0x7b3516
// > cocos2d::extension::WebSocket::init @ 0x7b35ba
// > cocos2d::CCBMFontConfiguration::parseInfoArguments @ 0x7d43d2
// > cocos2d::CCBMFontConfiguration::parseCommonArguments @ 0x7d4592
// > cocos2d::CCBMFontConfiguration::parseCommonArguments @ 0x7d4610
// > cocos2d::CCBMFontConfiguration::parseCommonArguments @ 0x7d46b8
// > cocos2d::CCBMFontConfiguration::parseCommonArguments @ 0x7d4762
// > cocos2d::CCBMFontConfiguration::parseCharacterDefinition @ 0x7d485a
// > cocos2d::CCBMFontConfiguration::parseCharacterDefinition @ 0x7d48de
// > cocos2d::CCBMFontConfiguration::parseCharacterDefinition @ 0x7d49a4
// > cocos2d::CCBMFontConfiguration::parseCharacterDefinition @ 0x7d4a64
// > cocos2d::CCBMFontConfiguration::parseCharacterDefinition @ 0x7d4b22
// > cocos2d::CCBMFontConfiguration::parseCharacterDefinition @ 0x7d4be2
// > cocos2d::CCBMFontConfiguration::parseCharacterDefinition @ 0x7d4ca2
// > cocos2d::CCBMFontConfiguration::parseCharacterDefinition @ 0x7d4d62
// > cocos2d::CCBMFontConfiguration::parseKerningEntry @ 0x7d4eae
// > cocos2d::CCBMFontConfiguration::parseKerningEntry @ 0x7d4f34
// > cocos2d::CCBMFontConfiguration::parseKerningEntry @ 0x7d4ff0
// > cocos2d::CCFileUtilsAndroid::isAbsolutePath @ 0x7eb336
// > cocos2d::CCFileUtilsAndroid::isFileExist @ 0x7eb3f6
// > cocos2d::CCImage::saveToFile @ 0x7ec3b8
// > cocos2d::CCImage::saveToFile @ 0x7ec410
// > cocos2d::BitmapDC::getBitmapFromJavaShadowStroke @ 0x7ec4dc
// > cocos2d::VolatileTexture::reloadAllTextures @ 0x801512
// > sub_801A04 @ 0x801b06
// > sub_801A04 @ 0x801b52
// > sub_801A04 @ 0x801b9e
// > sub_801A04 @ 0x801bea
// > sub_801A04 @ 0x801c36
// > sub_801A04 @ 0x801c82
// > sub_801A04 @ 0x801cce
// > sub_801A04 @ 0x801d1a
// > cocos2d::CCTextureCache::addImage @ 0x801fcc
// > cocos2d::CCTextureCache::addImage @ 0x802088
// > cocos2d::CCTextureCache::addImage @ 0x8020f0
// > cocos2d::CCTextureCache::addImage @ 0x802144
// > cocos2d::CCTextureCache::addImage @ 0x802198
// > cocos2d::CCTextureCache::addImage @ 0x8021ec
// > cocos2d::CCTextureCache::addImage @ 0x802240
// > cocos2d::CCTextureCache::addImage @ 0x802290
// > cocos2d::CCTexturePVR::initWithContentsOfFile @ 0x803518
// > cocos2d::CCTexturePVR::initWithContentsOfFile @ 0x80356a
// > DS_Dictionary::split @ 0x80c146
// > sub_80C8A4 @ 0x80c952
// > DS_Dictionary::addBoolValuesToMapForKeySpecial @ 0x80dfe2
// > DS_Dictionary::addBoolValuesToMapForKeySpecial @ 0x80e030
// > DS_Dictionary::addBoolValuesToMapForKeySpecial @ 0x80e07c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:46:40 +0000
//
unsigned __int8 **__fastcall std::__search(
unsigned __int8 **a1,
unsigned __int8 *a2,
unsigned __int8 *a3,
unsigned __int8 *a4,
unsigned __int8 *a5,
int (__fastcall *a6)(int, _DWORD))
{
int v9; // r10
unsigned __int8 *v10; // r11
unsigned __int8 *v11; // r4
unsigned __int8 *v12; // r5
int v13; // r0
unsigned __int8 *v14; // r2
unsigned __int8 *v15; // r12
int v16; // r0
unsigned __int8 *v18; // [sp+4h] [bp-10h]
unsigned __int8 *v19; // [sp+8h] [bp-Ch]
v9 = a5 - a4;
if ( a5 == a4 )
{
*a1 = a2;
a1[1] = a2;
}
else
{
if ( a3 - a2 >= v9 )
{
v10 = &a3[1 - v9];
v11 = a2;
LABEL_6:
while ( 1 )
{
v12 = v11;
if ( v11 == v10 )
break;
v13 = *v11++;
if ( a6(v13, *a4) )
{
v14 = a4;
v15 = v12;
while ( v14 != a5 - 1 )
{
v18 = v14 + 1;
v19 = v15 + 1;
v16 = a6(v15[1], v14[1]);
v14 = v18;
v15 = v19;
if ( !v16 )
goto LABEL_6;
}
*a1 = v12;
a1[1] = &v12[v9];
return a1;
}
}
}
*a1 = a3;
a1[1] = a3;
}
return a1;
}