{"type": "func", "start": 3169892, "end": 3170002, "name": "FMODAudioEngine::playEffectAsync", "pseudocode": "// \n// FMODAudioEngine::playEffectAsync from 0x305e64 to 0x305ed2 (110 bytes)\n// \n// 1 xrefs:\n// > CustomSFXWidget::onPlayback @ 0x56dc8c\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nint __fastcall FMODAudioEngine::playEffectAsync(FMODAudioEngine *a1, int a2)\n{\n  int v3; // r6\n  const void *v5; // [sp+40h] [bp-8h] BYREF\n\n  sub_775C20(&v5, a2);\n  v3 = FMODAudioEngine::playEffectAdvanced(a1, &v5, 1.0, 0, 1065353216, 0.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0.0, 0);\n  sub_774008(&v5);\n  return v3;\n}", "assembly": "; \n; FMODAudioEngine::playEffectAsync from 0x305e64 to 0x305ed2 (110 bytes)\n; \n; 1 xrefs:\n; > CustomSFXWidget::onPlayback @ 0x56dc8c\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nPUSH            {R4-R6,LR}                                             ; +0x0, 0x305e64\nSUB             SP, SP, #0x48                                          ; +0x2, 0x305e66\nLDR             R4, =(__stack_chk_guard_ptr - 0x305E72)                ; +0x4, 0x305e68\nADD             R5, SP, #0x48+var_8                                    ; +0x6, 0x305e6a\nMOV             R6, R0                                                 ; +0x8, 0x305e6c\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xa, 0x305e6e\nLDR             R4, [R4]; __stack_chk_guard                            ; +0xc, 0x305e70\nMOV             R0, R5                                                 ; +0xe, 0x305e72\nLDR             R3, [R4]                                               ; +0x10, 0x305e74\nSTR             R3, [SP,#0x48+var_4]                                   ; +0x12, 0x305e76\nBL              sub_775C20                                             ; +0x14, 0x305e78\nMOVS            R1, #0                                                 ; +0x18, 0x305e7c\nMOVS            R3, #0; int                                            ; +0x1a, 0x305e7e\nMOVS            R0, #1                                                 ; +0x1c, 0x305e80\nMOV.W           R2, #0x3F800000; int                                   ; +0x1e, 0x305e82\nSTR             R1, [SP,#0x48+var_40]; char                            ; +0x22, 0x305e86\nSTR             R1, [SP,#0x48+var_3C]; char                            ; +0x24, 0x305e88\nSTR             R1, [SP,#0x48+var_38]; int                             ; +0x26, 0x305e8a\nSTR             R1, [SP,#0x48+var_34]; int                             ; +0x28, 0x305e8c\nSTR             R1, [SP,#0x48+var_30]; int                             ; +0x2a, 0x305e8e\nSTR             R1, [SP,#0x48+var_2C]; int                             ; +0x2c, 0x305e90\nSTR             R1, [SP,#0x48+var_28]; char                            ; +0x2e, 0x305e92\nSTR             R1, [SP,#0x48+var_24]; int                             ; +0x30, 0x305e94\nSTR             R1, [SP,#0x48+var_20]; char                            ; +0x32, 0x305e96\nSTR             R0, [SP,#0x48+var_1C]; char                            ; +0x34, 0x305e98\nMOV             R0, R6; this                                           ; +0x36, 0x305e9a\nSTR             R1, [SP,#0x48+var_18]; int                             ; +0x38, 0x305e9c\nSTR             R1, [SP,#0x48+var_14]; int                             ; +0x3a, 0x305e9e\nSTR             R1, [SP,#0x48+var_C]; int                              ; +0x3c, 0x305ea0\nMOV             R1, R5; int                                            ; +0x3e, 0x305ea2\nSTR             R2, [SP,#0x48+var_48]; float                           ; +0x40, 0x305ea4\nSTR             R3, [SP,#0x48+var_44]; float                           ; +0x42, 0x305ea6\nSTR             R3, [SP,#0x48+var_10]; float                           ; +0x44, 0x305ea8\nBL              _ZN15FMODAudioEngine18playEffectAdvancedESsffffbbiiiibibbiifi; FMODAudioEngine::playEffectAdvanced(std::string,float,float,float,float,bool,bool,int,int,int,int,bool,int,bool,bool,int,int,float,int) ; +0x46, 0x305eaa\nMOV             R6, R0                                                 ; +0x4a, 0x305eae\nMOV             R0, R5                                                 ; +0x4c, 0x305eb0\nBL              sub_774008                                             ; +0x4e, 0x305eb2\nLDR             R2, [SP,#0x48+var_4]                                   ; +0x52, 0x305eb6\nLDR             R3, [R4]                                               ; +0x54, 0x305eb8\nMOV             R0, R6                                                 ; +0x56, 0x305eba\nCMP             R2, R3                                                 ; +0x58, 0x305ebc\nBEQ             loc_305ECE                                             ; +0x5a, 0x305ebe\nBLX             __stack_chk_fail                                       ; +0x5c, 0x305ec0\nMOV             R0, R5                                                 ; +0x60, 0x305ec4\nBL              sub_774008                                             ; +0x62, 0x305ec6\nBL              __cxa_end_cleanup                                      ; +0x66, 0x305eca\nADD             SP, SP, #0x48 ; 'H'                                    ; +0x6a, 0x305ece\nPOP             {R4-R6,PC}                                             ; +0x6c, 0x305ed0", "xrefs": ["CustomSFXWidget::onPlayback @ 0x56dc8c"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}