//
// sub_7756FC from 0x7756fc to 0x775734 (56 bytes)
//
// 14 xrefs:
// > CCTextInputNode::onTextFieldDetachWithIME @ 0x2fac06
// > GameObject::loadGroupsFromString @ 0x356996
// > GameLevelManager::removeDelimiterChars @ 0x3ce894
// > GameLevelManager::removeDelimiterChars @ 0x3ce8a8
// > GameLevelManager::removeDelimiterChars @ 0x3ce8d2
// > GameLevelManager::removeDelimiterChars @ 0x3ce8e6
// > GameLevelManager::getOnlineLevels @ 0x3d4870
// > GameLevelManager::getOnlineLevels @ 0x3d4898
// > EditorPauseLayer::init @ 0x3ff778
// > EditorPauseLayer::init @ 0x3ff7a8
// > sub_457158 @ 0x45716a
// > SFXSearchResult::updateObjects @ 0x45d762
// > DS_Dictionary::cleanStringWhiteSpace @ 0x5fe43a
// > DS_Dictionary::cleanStringWhiteSpace @ 0x5fe4fe
//
// 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_7756FC(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 *(_DWORD *)(v1 - 12) + v1;
}