{"type": "func", "start": 13368652, "end": 13368784, "name": "EditorSFXManager::getMyConfig", "pseudocode": "// \n// EditorSFXManager::getMyConfig from 0xcbfd4c to 0xcbfdd0 (132 bytes)\n// \n// 4 xrefs:\n// > EditorSFXManager::attachUploadedSoundID @ 0xcbfef0\n// > EditorSFXManager::overwriteMyConfigFromLive @ 0xcc3c28\n// > EditorSFXManager::applyMyConfig @ 0xcc79a0\n// > <???> @ 0x8a670\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\n__int64 __fastcall EditorSFXManager::getMyConfig(EditorSFXManager *this, int a2)\n{\n  cocos2d::CCArray *v3; // x0\n  int v5; // w0\n  unsigned int v6; // w1\n  unsigned int v7; // w19\n  __int64 result; // x0\n  bool v9; // cf\n\n  v3 = *((cocos2d::CCArray **)this + 19);\n  if ( a2 <= 0 )\n    return 0;\n  if ( !v3 )\n    return 0;\n  v5 = cocos2d::CCArray::count(v3);\n  v6 = 0;\n  v7 = 1;\n  if ( !v5 )\n    return 0;\n  while ( 1 )\n  {\n    result = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 19), v6);\n    if ( result )\n    {\n      if ( a2 == *(_DWORD *)(result + 320) )\n        break;\n    }\n    v9 = v7 >= (unsigned int)cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 19));\n    v6 = v7++;\n    if ( v9 )\n      return 0;\n  }\n  return result;\n}", "assembly": "; \n; EditorSFXManager::getMyConfig from 0xcbfd4c to 0xcbfdd0 (132 bytes)\n; \n; 4 xrefs:\n; > EditorSFXManager::attachUploadedSoundID @ 0xcbfef0\n; > EditorSFXManager::overwriteMyConfigFromLive @ 0xcc3c28\n; > EditorSFXManager::applyMyConfig @ 0xcc79a0\n; > <???> @ 0x8a670\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, 0xcbfd4c\nCMP             W1, WZR                                                ; +0x4, 0xcbfd50\nMOV             X29, SP                                                ; +0x8, 0xcbfd54\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0xc, 0xcbfd58\nSTR             X21, [SP,#0x30+var_10]                                 ; +0x10, 0xcbfd5c\nMOV             X20, X0                                                ; +0x14, 0xcbfd60\nLDR             X0, [X0,#0x98]; this                                   ; +0x18, 0xcbfd64\nB.LE            loc_CBFDBC                                             ; +0x1c, 0xcbfd68\nCBZ             X0, loc_CBFDBC                                         ; +0x20, 0xcbfd6c\nMOV             W19, #0                                                ; +0x24, 0xcbfd70\nMOV             W21, W1                                                ; +0x28, 0xcbfd74\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x2c, 0xcbfd78\nCMP             W19, W0                                                ; +0x30, 0xcbfd7c\nMOV             W1, W19; unsigned int                                  ; +0x34, 0xcbfd80\nADD             W19, W19, #1                                           ; +0x38, 0xcbfd84\nB.CS            loc_CBFDBC                                             ; +0x3c, 0xcbfd88\nLDR             X0, [X20,#0x98]; this                                  ; +0x40, 0xcbfd8c\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x44, 0xcbfd90\nCBZ             X0, loc_CBFDA4                                         ; +0x48, 0xcbfd94\nLDR             W2, [X0,#0x140]                                        ; +0x4c, 0xcbfd98\nCMP             W21, W2                                                ; +0x50, 0xcbfd9c\nB.EQ            loc_CBFDC0                                             ; +0x54, 0xcbfda0\nLDR             X0, [X20,#0x98]; this                                  ; +0x58, 0xcbfda4\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x5c, 0xcbfda8\nCMP             W19, W0                                                ; +0x60, 0xcbfdac\nMOV             W1, W19                                                ; +0x64, 0xcbfdb0\nADD             W19, W19, #1                                           ; +0x68, 0xcbfdb4\nB.CC            loc_CBFD8C                                             ; +0x6c, 0xcbfdb8\nMOV             X0, #0                                                 ; +0x70, 0xcbfdbc\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x74, 0xcbfdc0\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x78, 0xcbfdc4\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x7c, 0xcbfdc8\nRET                                                                    ; +0x80, 0xcbfdcc", "xrefs": ["EditorSFXManager::attachUploadedSoundID @ 0xcbfef0", "EditorSFXManager::overwriteMyConfigFromLive @ 0xcc3c28", "EditorSFXManager::applyMyConfig @ 0xcc79a0", "<???> @ 0x8a670"], "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"}