{"type": "func", "start": 7869540, "end": 7869588, "name": "EditorSFXManager::applyFavoriteConfig", "pseudocode": "// \n// EditorSFXManager::applyFavoriteConfig from 0x781464 to 0x781494 (48 bytes)\n// \n// 0 xrefs:\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:29 +0000\n// \n\nint __fastcall EditorSFXManager::applyFavoriteConfig(cocos2d::CCArray **a1, int a2, int a3, int *a4)\n{\n  int FavoriteConfig; // r1\n\n  FavoriteConfig = EditorSFXManager::getFavoriteConfig(a1, a2);\n  if ( FavoriteConfig )\n    return EditorSFXManager::applyConfigDirect((EditorSFXManager *)a1, FavoriteConfig, a3, a4);\n  if ( a4 )\n    std::string::assign(a4, \"Favorite not found.\");\n  return 0;\n}", "assembly": "; \n; EditorSFXManager::applyFavoriteConfig from 0x781464 to 0x781494 (48 bytes)\n; \n; 0 xrefs:\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:29 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x781464\nMOV             R6, R0                                                 ; +0x2, 0x781466\nMOV             R5, R2                                                 ; +0x4, 0x781468\nMOV             R4, R3                                                 ; +0x6, 0x78146a\nBL              _ZN16EditorSFXManager17getFavoriteConfigEi; EditorSFXManager::getFavoriteConfig(int) ; +0x8, 0x78146c\nMOV             R1, R0; int                                            ; +0xc, 0x781470\nCBNZ            R0, loc_781482                                         ; +0xe, 0x781472\nCBZ             R4, loc_781490                                         ; +0x10, 0x781474\nLDR             R1, =(aFavoriteNotFou - 0x78147E); \"Favorite not found.\" ; +0x12, 0x781476\nMOV             R0, R4; int                                            ; +0x14, 0x781478\nADD             R1, PC; \"Favorite not found.\"                          ; +0x16, 0x78147a\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc; std::string::assign(char const*) ; +0x18, 0x78147c\nB               loc_781490                                             ; +0x1c, 0x781480\nMOV             R0, R6; int                                            ; +0x1e, 0x781482\nMOV             R2, R5; int                                            ; +0x20, 0x781484\nMOV             R3, R4; int                                            ; +0x22, 0x781486\nPOP.W           {R4-R6,LR}                                             ; +0x24, 0x781488\nB.W             _ZN16EditorSFXManager17applyConfigDirectEP19GJEditorSoundConfigbPNSt6__ndk112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE; EditorSFXManager::applyConfigDirect(GJEditorSoundConfig *,bool,std::string *) ; +0x28, 0x78148c\nMOVS            R0, #0                                                 ; +0x2c, 0x781490\nPOP             {R4-R6,PC}                                             ; +0x2e, 0x781492", "xrefs": [], "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"}