// // EditorSFXManager::removeSoundAt from 0x77e94c to 0x77e9c2 (118 bytes) // // 1 xrefs: // > EditorSFXActionConfigLayer::onDeleteSound @ 0x77bb72 // // 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:25 +0000 // cocos2d::CCArray *__fastcall EditorSFXManager::removeSoundAt(EditorSFXManager *this, unsigned int a2, int a3) { cocos2d::CCArray *result; // r0 int v6; // r4 int v7; // r6 unsigned int v8; // [sp+4h] [bp-4h] BYREF v8 = a2; result = (cocos2d::CCArray *)EditorSFXManager::findBinding(this, a2, a3); v6 = (int)result; if ( result ) { result = *(cocos2d::CCArray **)result; if ( result ) { if ( a3 >= 0 ) { result = (cocos2d::CCArray *)cocos2d::CCArray::count(result); if ( a3 < (int)result ) { cocos2d::CCArray::removeObjectAtIndex(*(cocos2d::CCArray **)v6, a3, 1); v7 = *(_DWORD *)(v6 + 8); if ( v7 >= cocos2d::CCArray::count(*(cocos2d::CCArray **)v6) ) *(_DWORD *)(v6 + 8) = 0; result = (cocos2d::CCArray *)cocos2d::CCArray::count(*(cocos2d::CCArray **)v6); if ( !result ) { std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::__erase_unique( (_DWORD *)this + 10, &v8); std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::__erase_unique( (_DWORD *)this + 5, &v8); EditorSFXManager::releaseBinding((int)this, v6); result = (cocos2d::CCArray *)std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::find( this, &v8); if ( result ) return (cocos2d::CCArray *)std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::erase( this, result); } } } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source