{"type": "func", "start": 13368916, "end": 13369056, "name": "EditorSFXManager::removeMyConfig", "pseudocode": "// \n// EditorSFXManager::removeMyConfig from 0xcbfe54 to 0xcbfee0 (140 bytes)\n// \n// 2 xrefs:\n// > EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0xcd3ac8\n// > <???> @ 0x8bbe8\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::removeMyConfig(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 + 19);\n  if ( a2 > 0 && 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 + 19), i);\n      if ( v6 && a2 == *(_DWORD *)(v6 + 320) )\n        return (cocos2d::CCArray *)cocos2d::CCArray::removeObjectAtIndex(*((cocos2d::CCArray **)this + 19), i, 1);\n      result = *((cocos2d::CCArray **)this + 19);\n    }\n  }\n  return result;\n}", "assembly": "; \n; EditorSFXManager::removeMyConfig from 0xcbfe54 to 0xcbfee0 (140 bytes)\n; \n; 2 xrefs:\n; > EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0xcd3ac8\n; > <???> @ 0x8bbe8\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, 0xcbfe54\nCMP             W1, WZR                                                ; +0x4, 0xcbfe58\nMOV             X29, SP                                                ; +0x8, 0xcbfe5c\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0xc, 0xcbfe60\nSTR             X21, [SP,#0x30+var_10]                                 ; +0x10, 0xcbfe64\nMOV             X20, X0                                                ; +0x14, 0xcbfe68\nLDR             X0, [X0,#0x98]                                         ; +0x18, 0xcbfe6c\nB.LE            loc_CBFED0                                             ; +0x1c, 0xcbfe70\nCBZ             X0, loc_CBFED0                                         ; +0x20, 0xcbfe74\nMOV             W21, W1                                                ; +0x24, 0xcbfe78\nMOV             W19, #0                                                ; +0x28, 0xcbfe7c\nB               loc_CBFE8C                                             ; +0x2c, 0xcbfe80\nLDR             X0, [X20,#0x98]; this                                  ; +0x30, 0xcbfe84\nADD             W19, W19, #1                                           ; +0x34, 0xcbfe88\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x38, 0xcbfe8c\nCMP             W19, W0                                                ; +0x3c, 0xcbfe90\nMOV             W1, W19; unsigned int                                  ; +0x40, 0xcbfe94\nB.CS            loc_CBFED0                                             ; +0x44, 0xcbfe98\nLDR             X0, [X20,#0x98]; this                                  ; +0x48, 0xcbfe9c\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x4c, 0xcbfea0\nCBZ             X0, loc_CBFE84                                         ; +0x50, 0xcbfea4\nLDR             W0, [X0,#0x140]                                        ; +0x54, 0xcbfea8\nCMP             W21, W0                                                ; +0x58, 0xcbfeac\nB.NE            loc_CBFE84                                             ; +0x5c, 0xcbfeb0\nLDR             X0, [X20,#0x98]; this                                  ; +0x60, 0xcbfeb4\nMOV             W1, W19; unsigned int                                  ; +0x64, 0xcbfeb8\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x68, 0xcbfebc\nMOV             W2, #1; bool                                           ; +0x6c, 0xcbfec0\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x70, 0xcbfec4\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x74, 0xcbfec8\nB               _ZN7cocos2d7CCArray19removeObjectAtIndexEjb; cocos2d::CCArray::removeObjectAtIndex(uint,bool) ; +0x78, 0xcbfecc\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x7c, 0xcbfed0\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x80, 0xcbfed4\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x84, 0xcbfed8\nRET                                                                    ; +0x88, 0xcbfedc", "xrefs": ["EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0xcd3ac8", "<???> @ 0x8bbe8"], "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"}