{"type": "func", "start": 7853354, "end": 7853408, "name": "EditorSFXManager::getMyConfigForSoundID", "pseudocode": "// \n// EditorSFXManager::getMyConfigForSoundID from 0x77d52a to 0x77d560 (54 bytes)\n// \n// 2 xrefs:\n// > EditorSoundConfigInfoLayer::deleteEditorSoundFinished @ 0x785820\n// > EditorSoundConfigInfoLayer::uploadActionFinished @ 0x7864e8\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::getMyConfigForSoundID(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 + 264) == a2 )\n        return result;\n    }\n  }\n  return 0;\n}", "assembly": "; \n; EditorSFXManager::getMyConfigForSoundID from 0x77d52a to 0x77d560 (54 bytes)\n; \n; 2 xrefs:\n; > EditorSoundConfigInfoLayer::deleteEditorSoundFinished @ 0x785820\n; > EditorSoundConfigInfoLayer::uploadActionFinished @ 0x7864e8\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, 0x77d52a\nMOV             R5, R0                                                 ; +0x2, 0x77d52c\nLDR             R3, [R0,#0x4C]                                         ; +0x4, 0x77d52e\nMOV             R6, R1                                                 ; +0x6, 0x77d530\nCBNZ            R3, loc_77D538                                         ; +0x8, 0x77d532\nMOVS            R0, #0                                                 ; +0xa, 0x77d534\nPOP             {R4-R6,PC}                                             ; +0xc, 0x77d536\nCMP             R1, #0                                                 ; +0xe, 0x77d538\nBLE             loc_77D534                                             ; +0x10, 0x77d53a\nMOVS            R4, #0                                                 ; +0x12, 0x77d53c\nLDR             R0, [R5,#0x4C]; this                                   ; +0x14, 0x77d53e\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x16, 0x77d540\nCMP             R4, R0                                                 ; +0x1a, 0x77d544\nBCS             loc_77D534                                             ; +0x1c, 0x77d546\nLDR             R0, [R5,#0x4C]; this                                   ; +0x1e, 0x77d548\nMOV             R1, R4; unsigned int                                   ; +0x20, 0x77d54a\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x22, 0x77d54c\nCBZ             R0, loc_77D55A                                         ; +0x26, 0x77d550\nLDR.W           R3, [R0,#0x108]                                        ; +0x28, 0x77d552\nCMP             R3, R6                                                 ; +0x2c, 0x77d556\nBEQ             locret_77D55E                                          ; +0x2e, 0x77d558\nADDS            R4, #1                                                 ; +0x30, 0x77d55a\nB               loc_77D53E                                             ; +0x32, 0x77d55c\nPOP             {R4-R6,PC}                                             ; +0x34, 0x77d55e", "xrefs": ["EditorSoundConfigInfoLayer::deleteEditorSoundFinished @ 0x785820", "EditorSoundConfigInfoLayer::uploadActionFinished @ 0x7864e8"], "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"}