{"type": "func", "start": 7853082, "end": 7853132, "name": "EditorSFXManager::getFavoriteConfig", "pseudocode": "// \n// EditorSFXManager::getFavoriteConfig from 0x77d41a to 0x77d44c (50 bytes)\n// \n// 6 xrefs:\n// > EditorSFXManager::applyFavoriteConfig @ 0x78146c\n// > EditorSoundConfigInfoLayer::refreshActionButtons @ 0x784d06\n// > EditorSoundConfigInfoLayer::likedItem @ 0x785182\n// > EditorSoundConfigInfoLayer::onFavorite @ 0x785208\n// > EditorSoundConfigInfoLayer::onLocalDelete @ 0x785316\n// > EditorSoundConfigInfoLayer::downloadEditorSoundFinished @ 0x7862fc\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::getFavoriteConfig(cocos2d::CCArray **this, int a2)\n{\n  int result; // r0\n  unsigned int i; // r4\n\n  if ( *(this + 18) )\n  {\n    for ( i = 0; i < cocos2d::CCArray::count(*(this + 18)); ++i )\n    {\n      result = cocos2d::CCArray::objectAtIndex(*(this + 18), i);\n      if ( result && *(_DWORD *)(result + 264) == a2 )\n        return result;\n    }\n  }\n  return 0;\n}", "assembly": "; \n; EditorSFXManager::getFavoriteConfig from 0x77d41a to 0x77d44c (50 bytes)\n; \n; 6 xrefs:\n; > EditorSFXManager::applyFavoriteConfig @ 0x78146c\n; > EditorSoundConfigInfoLayer::refreshActionButtons @ 0x784d06\n; > EditorSoundConfigInfoLayer::likedItem @ 0x785182\n; > EditorSoundConfigInfoLayer::onFavorite @ 0x785208\n; > EditorSoundConfigInfoLayer::onLocalDelete @ 0x785316\n; > EditorSoundConfigInfoLayer::downloadEditorSoundFinished @ 0x7862fc\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, 0x77d41a\nMOV             R5, R0                                                 ; +0x2, 0x77d41c\nLDR             R3, [R0,#0x48]                                         ; +0x4, 0x77d41e\nMOV             R6, R1                                                 ; +0x6, 0x77d420\nCBNZ            R3, loc_77D428                                         ; +0x8, 0x77d422\nMOVS            R0, #0                                                 ; +0xa, 0x77d424\nPOP             {R4-R6,PC}                                             ; +0xc, 0x77d426\nMOVS            R4, #0                                                 ; +0xe, 0x77d428\nLDR             R0, [R5,#0x48]; this                                   ; +0x10, 0x77d42a\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x12, 0x77d42c\nCMP             R4, R0                                                 ; +0x16, 0x77d430\nBCS             loc_77D424                                             ; +0x18, 0x77d432\nLDR             R0, [R5,#0x48]; this                                   ; +0x1a, 0x77d434\nMOV             R1, R4; unsigned int                                   ; +0x1c, 0x77d436\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x1e, 0x77d438\nCBZ             R0, loc_77D446                                         ; +0x22, 0x77d43c\nLDR.W           R3, [R0,#0x108]                                        ; +0x24, 0x77d43e\nCMP             R3, R6                                                 ; +0x28, 0x77d442\nBEQ             locret_77D44A                                          ; +0x2a, 0x77d444\nADDS            R4, #1                                                 ; +0x2c, 0x77d446\nB               loc_77D42A                                             ; +0x2e, 0x77d448\nPOP             {R4-R6,PC}                                             ; +0x30, 0x77d44a", "xrefs": ["EditorSFXManager::applyFavoriteConfig @ 0x78146c", "EditorSoundConfigInfoLayer::refreshActionButtons @ 0x784d06", "EditorSoundConfigInfoLayer::likedItem @ 0x785182", "EditorSoundConfigInfoLayer::onFavorite @ 0x785208", "EditorSoundConfigInfoLayer::onLocalDelete @ 0x785316", "EditorSoundConfigInfoLayer::downloadEditorSoundFinished @ 0x7862fc"], "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"}