//
// sub_7756C4 from 0x7756c4 to 0x7756f8 (52 bytes)
//
// 12 xrefs:
// > CCTextInputNode::onTextFieldDetachWithIME @ 0x2fabfe
// > CCTextInputNode::onTextFieldDetachWithIME @ 0x2fac0e
// > GameObject::loadGroupsFromString @ 0x35698e
// > GameLevelManager::removeDelimiterChars @ 0x3ce88c
// > GameLevelManager::removeDelimiterChars @ 0x3ce8ca
// > GameLevelManager::getOnlineLevels @ 0x3d4868
// > EditorPauseLayer::init @ 0x3ff770
// > EditorPauseLayer::init @ 0x3ff7a0
// > sub_457158 @ 0x457162
// > sub_457158 @ 0x457172
// > SFXSearchResult::updateObjects @ 0x45d75a
// > DS_Dictionary::cleanStringWhiteSpace @ 0x5fe432
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
int __fastcall sub_7756C4(int *a1)
{
int v1; // r3
int v2; // r4
v1 = *a1;
v2 = *(_DWORD *)(*a1 - 4);
if ( v2 >= 0 && (int *)(v1 - 12) != &dword_ACDD9C )
{
if ( v2 )
{
sub_77500C(a1, 0, nullptr, nullptr);
v1 = *a1;
}
*(_DWORD *)(v1 - 4) = -1;
}
return v1;
}