{"type": "func", "start": 7853408, "end": 7853474, "name": "EditorSFXManager::removeMyConfig", "pseudocode": "// \n// EditorSFXManager::removeMyConfig from 0x77d560 to 0x77d5a2 (66 bytes)\n// \n// 1 xrefs:\n// > EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0x7889a2\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::removeMyConfig(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 + 76) && a2 > 0 )\n  {\n    for ( i = 0; ; ++i )\n    {\n      this = cocos2d::CCArray::count(*(cocos2d::CCArray **)(v2 + 76));\n      if ( i >= this )\n        break;\n      v5 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(v2 + 76), i);\n      if ( v5 && *(_DWORD *)(v5 + 268) == a2 )\n        return cocos2d::CCArray::removeObjectAtIndex(*(cocos2d::CCArray **)(v2 + 76), i, 1);\n    }\n  }\n  return this;\n}", "assembly": "; \n; EditorSFXManager::removeMyConfig from 0x77d560 to 0x77d5a2 (66 bytes)\n; \n; 1 xrefs:\n; > EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0x7889a2\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, 0x77d560\nMOV             R5, R0                                                 ; +0x2, 0x77d562\nLDR             R3, [R0,#0x4C]                                         ; +0x4, 0x77d564\nMOV             R6, R1                                                 ; +0x6, 0x77d566\nCBZ             R3, locret_77D5A0                                      ; +0x8, 0x77d568\nCMP             R1, #0                                                 ; +0xa, 0x77d56a\nBLE             locret_77D5A0                                          ; +0xc, 0x77d56c\nMOVS            R4, #0                                                 ; +0xe, 0x77d56e\nLDR             R0, [R5,#0x4C]; this                                   ; +0x10, 0x77d570\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x12, 0x77d572\nCMP             R4, R0                                                 ; +0x16, 0x77d576\nBCS             locret_77D590                                          ; +0x18, 0x77d578\nLDR             R0, [R5,#0x4C]; this                                   ; +0x1a, 0x77d57a\nMOV             R1, R4; unsigned int                                   ; +0x1c, 0x77d57c\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x1e, 0x77d57e\nCBZ             R0, loc_77D58C                                         ; +0x22, 0x77d582\nLDR.W           R3, [R0,#0x10C]                                        ; +0x24, 0x77d584\nCMP             R3, R6                                                 ; +0x28, 0x77d588\nBEQ             loc_77D592                                             ; +0x2a, 0x77d58a\nADDS            R4, #1                                                 ; +0x2c, 0x77d58c\nB               loc_77D570                                             ; +0x2e, 0x77d58e\nPOP             {R4-R6,PC}                                             ; +0x30, 0x77d590\nLDR             R0, [R5,#0x4C]; this                                   ; +0x32, 0x77d592\nMOV             R1, R4; unsigned int                                   ; +0x34, 0x77d594\nMOVS            R2, #1; bool                                           ; +0x36, 0x77d596\nPOP.W           {R4-R6,LR}                                             ; +0x38, 0x77d598\nB.W             _ZN7cocos2d7CCArray19removeObjectAtIndexEjb; cocos2d::CCArray::removeObjectAtIndex(uint,bool) ; +0x3c, 0x77d59c\nPOP             {R4-R6,PC}                                             ; +0x40, 0x77d5a0", "xrefs": ["EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0x7889a2"], "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"}