{"type": "func", "start": 4128816, "end": 4128902, "name": "FMODAudioEngine::loadMusic", "pseudocode": "// \n// FMODAudioEngine::loadMusic from 0x3f0030 to 0x3f0086 (86 bytes)\n// \n// 1 xrefs:\n// > SetupSongTriggerPopup::updateSongTimeSlider @ 0x6584fe\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:47:12 +0000\n// \n\nint __fastcall FMODAudioEngine::loadMusic(int a1, int a2)\n{\n  int Music; // r6\n  int v5[3]; // [sp+18h] [bp-10h] BYREF\n\n  std::string::basic_string(v5, a2);\n  Music = FMODAudioEngine::loadMusic(a1, (unsigned __int8 *)v5, 1.0, 0, 1.0, 0, 0, 0, 0);\n  std::string::~string((int)v5);\n  return Music;\n}", "assembly": "; \n; FMODAudioEngine::loadMusic from 0x3f0030 to 0x3f0086 (86 bytes)\n; \n; 1 xrefs:\n; > SetupSongTriggerPopup::updateSongTimeSlider @ 0x6584fe\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:47:12 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x3f0030\nSUB             SP, SP, #0x28                                          ; +0x2, 0x3f0032\nLDR             R4, =(__stack_chk_guard_ptr - 0x3F003E)                ; +0x4, 0x3f0034\nADD             R5, SP, #0x28+var_10                                   ; +0x6, 0x3f0036\nMOV             R6, R0                                                 ; +0x8, 0x3f0038\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xa, 0x3f003a\nLDR             R4, [R4]; __stack_chk_guard                            ; +0xc, 0x3f003c\nMOV             R0, R5                                                 ; +0xe, 0x3f003e\nLDR             R3, [R4]                                               ; +0x10, 0x3f0040\nSTR             R3, [SP,#0x28+var_4]                                   ; +0x12, 0x3f0042\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_; std::string::basic_string(std::string const&) ; +0x14, 0x3f0044\nMOVS            R3, #0                                                 ; +0x18, 0x3f0048\nMOV.W           R2, #0x3F800000; int                                   ; +0x1a, 0x3f004a\nSTR             R3, [SP,#0x28+var_24]; char                            ; +0x1e, 0x3f004e\nMOV             R0, R6; int                                            ; +0x20, 0x3f0050\nSTR             R3, [SP,#0x28+var_20]; int                             ; +0x22, 0x3f0052\nMOV             R1, R5; int                                            ; +0x24, 0x3f0054\nSTR             R3, [SP,#0x28+var_1C]; int                             ; +0x26, 0x3f0056\nSTR             R3, [SP,#0x28+var_18]; char                            ; +0x28, 0x3f0058\nMOVS            R3, #0; int                                            ; +0x2a, 0x3f005a\nSTR             R2, [SP,#0x28+var_28]; float                           ; +0x2c, 0x3f005c\nBL              _ZN15FMODAudioEngine9loadMusicENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEfffbiib; FMODAudioEngine::loadMusic(std::string,float,float,float,bool,int,int,bool) ; +0x2e, 0x3f005e\nMOV             R6, R0                                                 ; +0x32, 0x3f0062\nMOV             R0, R5                                                 ; +0x34, 0x3f0064\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x36, 0x3f0066\nLDR             R2, [SP,#0x28+var_4]                                   ; +0x3a, 0x3f006a\nLDR             R3, [R4]                                               ; +0x3c, 0x3f006c\nMOV             R0, R6                                                 ; +0x3e, 0x3f006e\nCMP             R2, R3                                                 ; +0x40, 0x3f0070\nBEQ             loc_3F0082                                             ; +0x42, 0x3f0072\nBLX             __stack_chk_fail                                       ; +0x44, 0x3f0074\nMOV             R0, R5                                                 ; +0x48, 0x3f0078\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x4a, 0x3f007a\nBL              __cxa_end_cleanup                                      ; +0x4e, 0x3f007e\nADD             SP, SP, #0x28 ; '('                                    ; +0x52, 0x3f0082\nPOP             {R4-R6,PC}                                             ; +0x54, 0x3f0084", "xrefs": ["SetupSongTriggerPopup::updateSongTimeSlider @ 0x6584fe"], "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"}