{"type": "func", "start": 7853216, "end": 7853278, "name": "EditorSFXManager::removeFavoriteConfig", "pseudocode": "// \n// EditorSFXManager::removeFavoriteConfig from 0x77d4a0 to 0x77d4de (62 bytes)\n// \n// 3 xrefs:\n// > EditorSoundConfigInfoLayer::onFavorite @ 0x78521a\n// > EditorSoundConfigInfoLayer::deleteEditorSoundFinished @ 0x785844\n// > EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0x788b4a\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:59:24 +0000\n// \n\nunsigned int __fastcall EditorSFXManager::removeFavoriteConfig(unsigned int this, int a2)\n{\n  unsigned int v2; // r5\n  unsigned int i; // r4\n  int v5; // r0\n\n  v2 = this;\n  if ( *(_DWORD *)(this + 72) )\n  {\n    for ( i = 0; ; ++i )\n    {\n      this = cocos2d::CCArray::count(*(cocos2d::CCArray **)(v2 + 72));\n      if ( i >= this )\n        break;\n      v5 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(v2 + 72), i);\n      if ( v5 && *(_DWORD *)(v5 + 264) == a2 )\n        return cocos2d::CCArray::removeObjectAtIndex(*(cocos2d::CCArray **)(v2 + 72), i, 1);\n    }\n  }\n  return this;\n}", "assembly": "; \n; EditorSFXManager::removeFavoriteConfig from 0x77d4a0 to 0x77d4de (62 bytes)\n; \n; 3 xrefs:\n; > EditorSoundConfigInfoLayer::onFavorite @ 0x78521a\n; > EditorSoundConfigInfoLayer::deleteEditorSoundFinished @ 0x785844\n; > EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0x788b4a\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:59:24 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x77d4a0\nMOV             R5, R0                                                 ; +0x2, 0x77d4a2\nLDR             R3, [R0,#0x48]                                         ; +0x4, 0x77d4a4\nMOV             R6, R1                                                 ; +0x6, 0x77d4a6\nCBNZ            R3, loc_77D4AC                                         ; +0x8, 0x77d4a8\nPOP             {R4-R6,PC}                                             ; +0xa, 0x77d4aa\nMOVS            R4, #0                                                 ; +0xc, 0x77d4ac\nLDR             R0, [R5,#0x48]; this                                   ; +0xe, 0x77d4ae\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x10, 0x77d4b0\nCMP             R4, R0                                                 ; +0x14, 0x77d4b4\nBCS             locret_77D4CE                                          ; +0x16, 0x77d4b6\nLDR             R0, [R5,#0x48]; this                                   ; +0x18, 0x77d4b8\nMOV             R1, R4; unsigned int                                   ; +0x1a, 0x77d4ba\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x1c, 0x77d4bc\nCBZ             R0, loc_77D4CA                                         ; +0x20, 0x77d4c0\nLDR.W           R3, [R0,#0x108]                                        ; +0x22, 0x77d4c2\nCMP             R3, R6                                                 ; +0x26, 0x77d4c6\nBEQ             loc_77D4D0                                             ; +0x28, 0x77d4c8\nADDS            R4, #1                                                 ; +0x2a, 0x77d4ca\nB               loc_77D4AE                                             ; +0x2c, 0x77d4cc\nPOP             {R4-R6,PC}                                             ; +0x2e, 0x77d4ce\nLDR             R0, [R5,#0x48]; this                                   ; +0x30, 0x77d4d0\nMOV             R1, R4; unsigned int                                   ; +0x32, 0x77d4d2\nMOVS            R2, #1; bool                                           ; +0x34, 0x77d4d4\nPOP.W           {R4-R6,LR}                                             ; +0x36, 0x77d4d6\nB.W             _ZN7cocos2d7CCArray19removeObjectAtIndexEjb; cocos2d::CCArray::removeObjectAtIndex(uint,bool) ; +0x3a, 0x77d4da", "xrefs": ["EditorSoundConfigInfoLayer::onFavorite @ 0x78521a", "EditorSoundConfigInfoLayer::deleteEditorSoundFinished @ 0x785844", "EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0x788b4a"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}