//
// EditorSFXManager::getOrCreateBinding from 0x77ffa2 to 0x77fffa (88 bytes)
//
// 3 xrefs:
// > EditorSFXManager::setPlayMode @ 0x77fffe
// > EditorSFXManager::addSound @ 0x78002a
// > EditorSFXManager::deserializeAll @ 0x780d9a
//
// 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:59:27 +0000
//
cocos2d::CCObject **__fastcall EditorSFXManager::getOrCreateBinding(
EditorSFXManager *this,
unsigned int a2,
unsigned int a3)
{
_DWORD *v4; // r0
cocos2d::CCObject **v6; // r0
cocos2d::CCObject **v7; // r4
cocos2d::CCObject *v8; // r0
unsigned int v9[2]; // [sp+4h] [bp-8h] BYREF
v9[1] = a3;
v9[0] = a2;
v4 = std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::find(
this,
v9);
if ( v4 )
return (cocos2d::CCObject **)v4[3];
v6 = (cocos2d::CCObject **)operator new(0x30u);
*v6 = nullptr;
v7 = v6;
v6[1] = (cocos2d::CCObject *)(&dword_0 + 1);
v6[2] = nullptr;
v6[10] = (cocos2d::CCObject *)-1;
v6[3] = nullptr;
v6[4] = nullptr;
v6[5] = nullptr;
v6[6] = nullptr;
v6[7] = nullptr;
v6[8] = nullptr;
v6[9] = nullptr;
v6[11] = nullptr;
v8 = (cocos2d::CCObject *)cocos2d::CCArray::create((cocos2d::CCArray *)v6);
*v7 = v8;
cocos2d::CCObject::retain(v8);
*std::unordered_map::operator[]((int)this, v9) = v7;
return v7;
}