{"type": "func", "start": 13368452, "end": 13368584, "name": "EditorSFXManager::removeFavoriteConfig", "pseudocode": "// \n// EditorSFXManager::removeFavoriteConfig from 0xcbfc84 to 0xcbfd08 (132 bytes)\n// \n// 4 xrefs:\n// > EditorSoundConfigInfoLayer::onFavorite @ 0xccdf18\n// > EditorSoundConfigInfoLayer::deleteEditorSoundFinished @ 0xcce204\n// > EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0xcd3824\n// > <???> @ 0x44d40\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 13:06:16 +0000\n// \n\ncocos2d::CCArray *__fastcall EditorSFXManager::removeFavoriteConfig(EditorSFXManager *this, int a2)\n{\n  cocos2d::CCArray *result; // x0\n  unsigned int i; // w19\n  __int64 v6; // x0\n\n  result = *((cocos2d::CCArray **)this + 18);\n  if ( result )\n  {\n    for ( i = 0; ; ++i )\n    {\n      result = (cocos2d::CCArray *)cocos2d::CCArray::count(result);\n      if ( i >= (unsigned int)result )\n        break;\n      v6 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 18), i);\n      if ( v6 && *(_DWORD *)(v6 + 316) == a2 )\n        return (cocos2d::CCArray *)cocos2d::CCArray::removeObjectAtIndex(*((cocos2d::CCArray **)this + 18), i, 1);\n      result = *((cocos2d::CCArray **)this + 18);\n    }\n  }\n  return result;\n}", "assembly": "; \n; EditorSFXManager::removeFavoriteConfig from 0xcbfc84 to 0xcbfd08 (132 bytes)\n; \n; 4 xrefs:\n; > EditorSoundConfigInfoLayer::onFavorite @ 0xccdf18\n; > EditorSoundConfigInfoLayer::deleteEditorSoundFinished @ 0xcce204\n; > EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0xcd3824\n; > <???> @ 0x44d40\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 13:06:16 +0000\n; \nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0xcbfc84\nMOV             X29, SP                                                ; +0x4, 0xcbfc88\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0xcbfc8c\nSTR             X21, [SP,#0x30+var_10]                                 ; +0xc, 0xcbfc90\nMOV             X20, X0                                                ; +0x10, 0xcbfc94\nLDR             X0, [X0,#0x90]                                         ; +0x14, 0xcbfc98\nCBZ             X0, loc_CBFCF8                                         ; +0x18, 0xcbfc9c\nMOV             W21, W1                                                ; +0x1c, 0xcbfca0\nMOV             W19, #0                                                ; +0x20, 0xcbfca4\nB               loc_CBFCB4                                             ; +0x24, 0xcbfca8\nLDR             X0, [X20,#0x90]; this                                  ; +0x28, 0xcbfcac\nADD             W19, W19, #1                                           ; +0x2c, 0xcbfcb0\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x30, 0xcbfcb4\nCMP             W19, W0                                                ; +0x34, 0xcbfcb8\nMOV             W1, W19; unsigned int                                  ; +0x38, 0xcbfcbc\nB.CS            loc_CBFCF8                                             ; +0x3c, 0xcbfcc0\nLDR             X0, [X20,#0x90]; this                                  ; +0x40, 0xcbfcc4\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x44, 0xcbfcc8\nCBZ             X0, loc_CBFCAC                                         ; +0x48, 0xcbfccc\nLDR             W0, [X0,#0x13C]                                        ; +0x4c, 0xcbfcd0\nCMP             W0, W21                                                ; +0x50, 0xcbfcd4\nB.NE            loc_CBFCAC                                             ; +0x54, 0xcbfcd8\nLDR             X0, [X20,#0x90]; this                                  ; +0x58, 0xcbfcdc\nMOV             W1, W19; unsigned int                                  ; +0x5c, 0xcbfce0\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x60, 0xcbfce4\nMOV             W2, #1; bool                                           ; +0x64, 0xcbfce8\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x68, 0xcbfcec\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x6c, 0xcbfcf0\nB               _ZN7cocos2d7CCArray19removeObjectAtIndexEjb; cocos2d::CCArray::removeObjectAtIndex(uint,bool) ; +0x70, 0xcbfcf4\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x74, 0xcbfcf8\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x78, 0xcbfcfc\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x7c, 0xcbfd00\nRET                                                                    ; +0x80, 0xcbfd04", "xrefs": ["EditorSoundConfigInfoLayer::onFavorite @ 0xccdf18", "EditorSoundConfigInfoLayer::deleteEditorSoundFinished @ 0xcce204", "EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0xcd3824", "<???> @ 0x44d40"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}