{"type": "func", "start": 5370329072, "end": 5370329185, "name": "EditorSFXManager::getMyConfig", "pseudocode": "// \n// EditorSFXManager::getMyConfig from 0x14018b7f0 to 0x14018b861 (113 bytes)\n// \n// 4 xrefs:\n// > EditorSFXManager::overwriteMyConfigFromLive @ 0x14018bd9a\n// > EditorSFXManager::applyMyConfig @ 0x14018bf3f\n// > EditorSoundConfigUploadPopup::uploadEditorSoundFinished @ 0x14019c391\n// > <???> @ 0x140918f5c\n// \n// This function is hookable on this platform (idp: pc, 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 11:27:40 +0000\n// \n\nstruct cocos2d::CCObject *__fastcall EditorSFXManager::getMyConfig(__int64 a1, int a2)\n{\n  cocos2d::CCArray *v4; // rcx\n  unsigned int v5; // ebx\n  struct cocos2d::CCObject *result; // rax\n\n  v4 = *(cocos2d::CCArray **)(a1 + 216);\n  if ( !v4 )\n    return nullptr;\n  if ( a2 <= 0 )\n    return nullptr;\n  v5 = 0;\n  if ( !cocos2d::CCArray::count(v4) )\n    return nullptr;\n  while ( 1 )\n  {\n    result = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 216), v5);\n    if ( result )\n    {\n      if ( *((_DWORD *)result + 81) == a2 )\n        break;\n    }\n    if ( ++v5 >= cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 216)) )\n      return nullptr;\n  }\n  return result;\n}", "assembly": "; \n; EditorSFXManager::getMyConfig from 0x14018b7f0 to 0x14018b861 (113 bytes)\n; \n; 4 xrefs:\n; > EditorSFXManager::overwriteMyConfigFromLive @ 0x14018bd9a\n; > EditorSFXManager::applyMyConfig @ 0x14018bf3f\n; > EditorSoundConfigUploadPopup::uploadEditorSoundFinished @ 0x14019c391\n; > <???> @ 0x140918f5c\n; \n; This function is hookable on this platform (idp: pc, 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 11:27:40 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14018b7f0\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x14018b7f5\npush    rdi                                                            ; +0xa, 0x14018b7fa\nsub     rsp, 20h                                                       ; +0xb, 0x14018b7fb\nmov     rdi, rcx                                                       ; +0xf, 0x14018b7ff\nmov     esi, edx                                                       ; +0x12, 0x14018b802\nmov     rcx, [rcx+0D8h]                                                ; +0x14, 0x14018b804\ntest    rcx, rcx                                                       ; +0x1b, 0x14018b80b\njz      short loc_14018B84F                                            ; +0x1e, 0x14018b80e\ntest    edx, edx                                                       ; +0x20, 0x14018b810\njle     short loc_14018B84F                                            ; +0x22, 0x14018b812\nxor     ebx, ebx                                                       ; +0x24, 0x14018b814\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x26, 0x14018b816\ntest    eax, eax                                                       ; +0x2c, 0x14018b81c\njz      short loc_14018B84F                                            ; +0x2e, 0x14018b81e\nmov     rcx, [rdi+0D8h]                                                ; +0x30, 0x14018b820\nmov     edx, ebx                                                       ; +0x37, 0x14018b827\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x39, 0x14018b829\ntest    rax, rax                                                       ; +0x3f, 0x14018b82f\njz      short loc_14018B83C                                            ; +0x42, 0x14018b832\ncmp     [rax+144h], esi                                                ; +0x44, 0x14018b834\njz      short loc_14018B851                                            ; +0x4a, 0x14018b83a\nmov     rcx, [rdi+0D8h]                                                ; +0x4c, 0x14018b83c\ninc     ebx                                                            ; +0x53, 0x14018b843\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x55, 0x14018b845\ncmp     ebx, eax                                                       ; +0x5b, 0x14018b84b\njb      short loc_14018B820                                            ; +0x5d, 0x14018b84d\nxor     eax, eax                                                       ; +0x5f, 0x14018b84f\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x61, 0x14018b851\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x66, 0x14018b856\nadd     rsp, 20h                                                       ; +0x6b, 0x14018b85b\npop     rdi                                                            ; +0x6f, 0x14018b85f\nretn                                                                   ; +0x70, 0x14018b860", "xrefs": ["EditorSFXManager::overwriteMyConfigFromLive @ 0x14018bd9a", "EditorSFXManager::applyMyConfig @ 0x14018bf3f", "EditorSoundConfigUploadPopup::uploadEditorSoundFinished @ 0x14019c391", "<???> @ 0x140918f5c"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}