{"type": "func", "start": 4200464, "end": 4200572, "name": "AudioEffectsLayer::updateTweenAction", "pseudocode": "// \n// AudioEffectsLayer::updateTweenAction from 0x401810 to 0x40187c (108 bytes)\n// \n// 0 xrefs:\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\nvoid AudioEffectsLayer::updateTweenAction(AudioEffectsLayer *a1, float a2, const char *a3)\n{\n  int v5; // r9\n  _BYTE v6[4]; // [sp+Ch] [bp-10h] BYREF\n  _BYTE v7[4]; // [sp+10h] [bp-Ch] BYREF\n\n  sub_776584((int)v6, (char *)a3);\n  sub_776584((int)v7, \"audioScale\");\n  v5 = sub_774DBC(v6, v7);\n  sub_774008(v7);\n  sub_774008(v6);\n  if ( !v5 )\n    a1->m_audioScale = a2;\n}", "assembly": "; \n; AudioEffectsLayer::updateTweenAction from 0x401810 to 0x40187c (108 bytes)\n; \n; 0 xrefs:\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.W          {R4-R9,LR}                                             ; +0x0, 0x401810\nSUB             SP, SP, #0x1C                                          ; +0x4, 0x401814\nLDR             R4, =(__stack_chk_guard_ptr - 0x401822)                ; +0x6, 0x401816\nADD             R5, SP, #0x1C+var_10                                   ; +0x8, 0x401818\nMOV             R7, R0                                                 ; +0xa, 0x40181a\nMOV             R8, R1                                                 ; +0xc, 0x40181c\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xe, 0x40181e\nLDR             R4, [R4]; __stack_chk_guard                            ; +0x10, 0x401820\nMOV             R1, R2; char *                                         ; +0x12, 0x401822\nMOV             R0, R5; int                                            ; +0x14, 0x401824\nADD             R2, SP, #0x1C+var_18                                   ; +0x16, 0x401826\nLDR             R3, [R4]                                               ; +0x18, 0x401828\nADD             R6, SP, #0x1C+var_C                                    ; +0x1a, 0x40182a\nSTR             R3, [SP,#0x1C+var_8]                                   ; +0x1c, 0x40182c\nBL              sub_776584                                             ; +0x1e, 0x40182e\nLDR             R1, =(aAudioscale - 0x40183C); \"audioScale\"            ; +0x22, 0x401832\nMOV             R0, R6; int                                            ; +0x24, 0x401834\nADD             R2, SP, #0x1C+var_14                                   ; +0x26, 0x401836\nADD             R1, PC; \"audioScale\"                                   ; +0x28, 0x401838\nBL              sub_776584                                             ; +0x2a, 0x40183a\nMOV             R1, R6                                                 ; +0x2e, 0x40183e\nMOV             R0, R5                                                 ; +0x30, 0x401840\nBL              sub_774DBC                                             ; +0x32, 0x401842\nMOV             R9, R0                                                 ; +0x36, 0x401846\nMOV             R0, R6                                                 ; +0x38, 0x401848\nBL              sub_774008                                             ; +0x3a, 0x40184a\nMOV             R0, R5                                                 ; +0x3e, 0x40184e\nBL              sub_774008                                             ; +0x40, 0x401850\nCMP.W           R9, #0                                                 ; +0x44, 0x401854\nBNE             loc_40186A                                             ; +0x48, 0x401858\nSTR.W           R8, [R7,#0x1D0]                                        ; +0x4a, 0x40185a\nB               loc_40186A                                             ; +0x4e, 0x40185e\nMOV             R0, R5                                                 ; +0x50, 0x401860\nBL              sub_774008                                             ; +0x52, 0x401862\nBL              __cxa_end_cleanup                                      ; +0x56, 0x401866\nLDR             R2, [SP,#0x1C+var_8]                                   ; +0x5a, 0x40186a\nLDR             R3, [R4]                                               ; +0x5c, 0x40186c\nCMP             R2, R3                                                 ; +0x5e, 0x40186e\nBEQ             loc_401876                                             ; +0x60, 0x401870\nBLX             __stack_chk_fail                                       ; +0x62, 0x401872\nADD             SP, SP, #0x1C                                          ; +0x66, 0x401876\nPOP.W           {R4-R9,PC}                                             ; +0x68, 0x401878", "xrefs": [], "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"}