{"type": "func", "start": 4297700656, "end": 4297700828, "name": "GJBaseGameLayer::updateAudioVisualizer", "pseudocode": "// \n// GJBaseGameLayer::updateAudioVisualizer from 0x10029b530 to 0x10029b5dc (172 bytes)\n// \n// 2 xrefs:\n// > GJBaseGameLayer::update @ 0x10029b0e8\n// > GJBaseGameLayer::update @ 0x10029b3a0\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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:02:09 +0000\n// \n\n__int64 __fastcall GJBaseGameLayer::updateAudioVisualizer(__int64 result)\n{\n  __int64 v1; // x19\n  __int64 v2; // x20\n  float v3; // s8\n  float v4; // s9\n  float v5; // s10\n  __int64 v6; // x0\n  __int64 v7; // x19\n  float v8; // s8\n  float v9; // s9\n  float v10; // s10\n  float v11; // s2\n\n  if ( *(_BYTE *)(result + 13704) == 1 )\n  {\n    v1 = result;\n    v2 = *(_QWORD *)(result + 13688);\n    v3 = *(float *)(FMODAudioEngine::sharedEngine() + 1620);\n    v4 = *(float *)(FMODAudioEngine::sharedEngine() + 1616);\n    v5 = *(float *)(FMODAudioEngine::sharedEngine() + 588);\n    v6 = FMODAudioEngine::sharedEngine();\n    FMODLevelVisualizer::updateVisualizer(v2, v3, v4, v5 - *(float *)(v6 + 1612));\n    v7 = *(_QWORD *)(v1 + 13696);\n    v8 = *(float *)(FMODAudioEngine::sharedEngine() + 1632);\n    v9 = *(float *)(FMODAudioEngine::sharedEngine() + 1628);\n    v10 = *(float *)(FMODAudioEngine::sharedEngine() + 588);\n    v11 = v10 - *(float *)(FMODAudioEngine::sharedEngine() + 1624);\n    return FMODLevelVisualizer::updateVisualizer(v7, v8, v9, v11);\n  }\n  return result;\n}", "assembly": "; \n; GJBaseGameLayer::updateAudioVisualizer from 0x10029b530 to 0x10029b5dc (172 bytes)\n; \n; 2 xrefs:\n; > GJBaseGameLayer::update @ 0x10029b0e8\n; > GJBaseGameLayer::update @ 0x10029b3a0\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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:02:09 +0000\n; \nMOV             W8, #0x3588                                            ; +0x0, 0x10029b530\nLDRB            W8, [X0,X8]                                            ; +0x4, 0x10029b534\nCMP             W8, #1                                                 ; +0x8, 0x10029b538\nB.NE            locret_10029B5D8                                       ; +0xc, 0x10029b53c\nSTP             D11, D10, [SP,#var_40]!                                ; +0x10, 0x10029b540\nSTP             D9, D8, [SP,#0x40+var_30]                              ; +0x14, 0x10029b544\nSTP             X20, X19, [SP,#0x40+var_20]                            ; +0x18, 0x10029b548\nSTP             X29, X30, [SP,#0x40+var_10]                            ; +0x1c, 0x10029b54c\nADD             X29, SP, #0x40+var_10                                  ; +0x20, 0x10029b550\nMOV             X19, X0                                                ; +0x24, 0x10029b554\nLDR             X20, [X0,#0x3578]                                      ; +0x28, 0x10029b558\nBL              FMODAudioEngine__sharedEngine                          ; +0x2c, 0x10029b55c\nLDR             S8, [X0,#0x654]                                        ; +0x30, 0x10029b560\nBL              FMODAudioEngine__sharedEngine                          ; +0x34, 0x10029b564\nLDR             S9, [X0,#0x650]                                        ; +0x38, 0x10029b568\nBL              FMODAudioEngine__sharedEngine                          ; +0x3c, 0x10029b56c\nLDR             S10, [X0,#0x24C]                                       ; +0x40, 0x10029b570\nBL              FMODAudioEngine__sharedEngine                          ; +0x44, 0x10029b574\nLDR             S0, [X0,#0x64C]                                        ; +0x48, 0x10029b578\nFSUB            S2, S10, S0                                            ; +0x4c, 0x10029b57c\nMOV             X0, X20                                                ; +0x50, 0x10029b580\nFMOV            S0, S8                                                 ; +0x54, 0x10029b584\nFMOV            S1, S9                                                 ; +0x58, 0x10029b588\nBL              FMODLevelVisualizer__updateVisualizer                  ; +0x5c, 0x10029b58c\nLDR             X19, [X19,#0x3580]                                     ; +0x60, 0x10029b590\nBL              FMODAudioEngine__sharedEngine                          ; +0x64, 0x10029b594\nLDR             S8, [X0,#0x660]                                        ; +0x68, 0x10029b598\nBL              FMODAudioEngine__sharedEngine                          ; +0x6c, 0x10029b59c\nLDR             S9, [X0,#0x65C]                                        ; +0x70, 0x10029b5a0\nBL              FMODAudioEngine__sharedEngine                          ; +0x74, 0x10029b5a4\nLDR             S10, [X0,#0x24C]                                       ; +0x78, 0x10029b5a8\nBL              FMODAudioEngine__sharedEngine                          ; +0x7c, 0x10029b5ac\nLDR             S0, [X0,#0x658]                                        ; +0x80, 0x10029b5b0\nFSUB            S2, S10, S0                                            ; +0x84, 0x10029b5b4\nMOV             X0, X19                                                ; +0x88, 0x10029b5b8\nFMOV            S0, S8                                                 ; +0x8c, 0x10029b5bc\nFMOV            S1, S9                                                 ; +0x90, 0x10029b5c0\nLDP             X29, X30, [SP,#0x40+var_10]                            ; +0x94, 0x10029b5c4\nLDP             X20, X19, [SP,#0x40+var_20]                            ; +0x98, 0x10029b5c8\nLDP             D9, D8, [SP,#0x40+var_30]                              ; +0x9c, 0x10029b5cc\nLDP             D11, D10, [SP+0x40+var_40],#0x40                       ; +0xa0, 0x10029b5d0\nB               FMODLevelVisualizer__updateVisualizer                  ; +0xa4, 0x10029b5d4\nRET                                                                    ; +0xa8, 0x10029b5d8", "xrefs": ["GJBaseGameLayer::update @ 0x10029b0e8", "GJBaseGameLayer::update @ 0x10029b3a0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}