{"type": "func", "start": 7853300, "end": 7853354, "name": "EditorSFXManager::getMyConfig", "pseudocode": "// \n// EditorSFXManager::getMyConfig from 0x77d4f4 to 0x77d52a (54 bytes)\n// \n// 3 xrefs:\n// > EditorSFXManager::attachUploadedSoundID @ 0x77d5a6\n// > EditorSFXManager::overwriteMyConfigFromLive @ 0x77f700\n// > EditorSFXManager::applyMyConfig @ 0x7814ae\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\nint __fastcall EditorSFXManager::getMyConfig(cocos2d::CCArray **this, int a2)\n{\n  int result; // r0\n  unsigned int i; // r4\n\n  if ( *(this + 19) && a2 > 0 )\n  {\n    for ( i = 0; i < cocos2d::CCArray::count(*(this + 19)); ++i )\n    {\n      result = cocos2d::CCArray::objectAtIndex(*(this + 19), i);\n      if ( result && *(_DWORD *)(result + 268) == a2 )\n        return result;\n    }\n  }\n  return 0;\n}", "assembly": "; \n; EditorSFXManager::getMyConfig from 0x77d4f4 to 0x77d52a (54 bytes)\n; \n; 3 xrefs:\n; > EditorSFXManager::attachUploadedSoundID @ 0x77d5a6\n; > EditorSFXManager::overwriteMyConfigFromLive @ 0x77f700\n; > EditorSFXManager::applyMyConfig @ 0x7814ae\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, 0x77d4f4\nMOV             R5, R0                                                 ; +0x2, 0x77d4f6\nLDR             R3, [R0,#0x4C]                                         ; +0x4, 0x77d4f8\nMOV             R6, R1                                                 ; +0x6, 0x77d4fa\nCBNZ            R3, loc_77D502                                         ; +0x8, 0x77d4fc\nMOVS            R0, #0                                                 ; +0xa, 0x77d4fe\nPOP             {R4-R6,PC}                                             ; +0xc, 0x77d500\nCMP             R1, #0                                                 ; +0xe, 0x77d502\nBLE             loc_77D4FE                                             ; +0x10, 0x77d504\nMOVS            R4, #0                                                 ; +0x12, 0x77d506\nLDR             R0, [R5,#0x4C]; this                                   ; +0x14, 0x77d508\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x16, 0x77d50a\nCMP             R4, R0                                                 ; +0x1a, 0x77d50e\nBCS             loc_77D4FE                                             ; +0x1c, 0x77d510\nLDR             R0, [R5,#0x4C]; this                                   ; +0x1e, 0x77d512\nMOV             R1, R4; unsigned int                                   ; +0x20, 0x77d514\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x22, 0x77d516\nCBZ             R0, loc_77D524                                         ; +0x26, 0x77d51a\nLDR.W           R3, [R0,#0x10C]                                        ; +0x28, 0x77d51c\nCMP             R3, R6                                                 ; +0x2c, 0x77d520\nBEQ             locret_77D528                                          ; +0x2e, 0x77d522\nADDS            R4, #1                                                 ; +0x30, 0x77d524\nB               loc_77D508                                             ; +0x32, 0x77d526\nPOP             {R4-R6,PC}                                             ; +0x34, 0x77d528", "xrefs": ["EditorSFXManager::attachUploadedSoundID @ 0x77d5a6", "EditorSFXManager::overwriteMyConfigFromLive @ 0x77f700", "EditorSFXManager::applyMyConfig @ 0x7814ae"], "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"}