{"type": "func", "start": 4296216928, "end": 4296217158, "name": "GJBaseGameLayer::updateAudioVisualizer", "pseudocode": "// \n// GJBaseGameLayer::updateAudioVisualizer from 0x100131160 to 0x100131246 (230 bytes)\n// \n// 2 xrefs:\n// > GJBaseGameLayer::update @ 0x10012f4ee\n// > GJBaseGameLayer::update @ 0x100130ce5\n// \n// This function is hookable on this platform (idp: pc, 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 12:24:47 +0000\n// \n\ndouble __fastcall GJBaseGameLayer::updateAudioVisualizer(__int64 a1, double result)\n{\n  __int64 v2; // rbx\n  __int64 v3; // rax\n  double updated; // xmm0_8\n  __int64 v5; // rbx\n  __int64 v6; // rax\n  float v7; // [rsp-24h] [rbp-24h]\n  float v8; // [rsp-24h] [rbp-24h]\n  float v9; // [rsp-20h] [rbp-20h]\n  float v10; // [rsp-20h] [rbp-20h]\n  float v11; // [rsp-1Ch] [rbp-1Ch]\n  float v12; // [rsp-1Ch] [rbp-1Ch]\n\n  if ( *(_BYTE *)(a1 + 13704) == 1 )\n  {\n    v2 = *(_QWORD *)(a1 + 13688);\n    v7 = *(float *)(FMODAudioEngine::sharedEngine(result) + 1620);\n    v9 = *(float *)(FMODAudioEngine::sharedEngine(COERCE_DOUBLE((unsigned __int64)LODWORD(v7))) + 1616);\n    v11 = *(float *)(FMODAudioEngine::sharedEngine(COERCE_DOUBLE((unsigned __int64)LODWORD(v9))) + 588);\n    v3 = FMODAudioEngine::sharedEngine(COERCE_DOUBLE((unsigned __int64)LODWORD(v11)));\n    updated = FMODLevelVisualizer::updateVisualizer(v2, v7, v9, v11 - *(float *)(v3 + 1612));\n    v5 = *(_QWORD *)(a1 + 13696);\n    v8 = *(float *)(FMODAudioEngine::sharedEngine(updated) + 1632);\n    v10 = *(float *)(FMODAudioEngine::sharedEngine(COERCE_DOUBLE((unsigned __int64)LODWORD(v8))) + 1628);\n    v12 = *(float *)(FMODAudioEngine::sharedEngine(COERCE_DOUBLE((unsigned __int64)LODWORD(v10))) + 588);\n    v6 = FMODAudioEngine::sharedEngine(COERCE_DOUBLE((unsigned __int64)LODWORD(v12)));\n    return FMODLevelVisualizer::updateVisualizer(v5, v8, v10, v12 - *(float *)(v6 + 1624));\n  }\n  return result;\n}", "assembly": "; \n; GJBaseGameLayer::updateAudioVisualizer from 0x100131160 to 0x100131246 (230 bytes)\n; \n; 2 xrefs:\n; > GJBaseGameLayer::update @ 0x10012f4ee\n; > GJBaseGameLayer::update @ 0x100130ce5\n; \n; This function is hookable on this platform (idp: pc, 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 12:24:47 +0000\n; \ncmp     byte ptr [rdi+3588h], 1                                        ; +0x0, 0x100131160\njnz     locret_100131245                                               ; +0x7, 0x100131167\npush    rbp                                                            ; +0xd, 0x10013116d\nmov     rbp, rsp                                                       ; +0xe, 0x10013116e\npush    r14                                                            ; +0x11, 0x100131171\npush    rbx                                                            ; +0x13, 0x100131173\nsub     rsp, 10h                                                       ; +0x14, 0x100131174\nmov     rbx, [rdi+3578h]                                               ; +0x18, 0x100131178\nmov     r14, rdi                                                       ; +0x1f, 0x10013117f\ncall    FMODAudioEngine__sharedEngine                                  ; +0x22, 0x100131182\nmovss   xmm0, dword ptr [rax+654h]                                     ; +0x27, 0x100131187\nmovss   dword ptr [rbp-1Ch], xmm0                                      ; +0x2f, 0x10013118f\ncall    FMODAudioEngine__sharedEngine                                  ; +0x34, 0x100131194\nmovss   xmm0, dword ptr [rax+650h]                                     ; +0x39, 0x100131199\nmovss   dword ptr [rbp-18h], xmm0                                      ; +0x41, 0x1001311a1\ncall    FMODAudioEngine__sharedEngine                                  ; +0x46, 0x1001311a6\nmovss   xmm0, dword ptr [rax+24Ch]                                     ; +0x4b, 0x1001311ab\nmovss   dword ptr [rbp-14h], xmm0                                      ; +0x53, 0x1001311b3\ncall    FMODAudioEngine__sharedEngine                                  ; +0x58, 0x1001311b8\nmovss   xmm2, dword ptr [rbp-14h]                                      ; +0x5d, 0x1001311bd\nsubss   xmm2, dword ptr [rax+64Ch]                                     ; +0x62, 0x1001311c2\nmov     rdi, rbx                                                       ; +0x6a, 0x1001311ca\nmovss   xmm0, dword ptr [rbp-1Ch]                                      ; +0x6d, 0x1001311cd\nmovss   xmm1, dword ptr [rbp-18h]                                      ; +0x72, 0x1001311d2\ncall    FMODLevelVisualizer__updateVisualizer                          ; +0x77, 0x1001311d7\nmov     rbx, [r14+3580h]                                               ; +0x7c, 0x1001311dc\ncall    FMODAudioEngine__sharedEngine                                  ; +0x83, 0x1001311e3\nmovss   xmm0, dword ptr [rax+660h]                                     ; +0x88, 0x1001311e8\nmovss   dword ptr [rbp-1Ch], xmm0                                      ; +0x90, 0x1001311f0\ncall    FMODAudioEngine__sharedEngine                                  ; +0x95, 0x1001311f5\nmovss   xmm0, dword ptr [rax+65Ch]                                     ; +0x9a, 0x1001311fa\nmovss   dword ptr [rbp-18h], xmm0                                      ; +0xa2, 0x100131202\ncall    FMODAudioEngine__sharedEngine                                  ; +0xa7, 0x100131207\nmovss   xmm0, dword ptr [rax+24Ch]                                     ; +0xac, 0x10013120c\nmovss   dword ptr [rbp-14h], xmm0                                      ; +0xb4, 0x100131214\ncall    FMODAudioEngine__sharedEngine                                  ; +0xb9, 0x100131219\nmovss   xmm2, dword ptr [rbp-14h]                                      ; +0xbe, 0x10013121e\nsubss   xmm2, dword ptr [rax+658h]                                     ; +0xc3, 0x100131223\nmov     rdi, rbx                                                       ; +0xcb, 0x10013122b\nmovss   xmm0, dword ptr [rbp-1Ch]                                      ; +0xce, 0x10013122e\nmovss   xmm1, dword ptr [rbp-18h]                                      ; +0xd3, 0x100131233\nadd     rsp, 10h                                                       ; +0xd8, 0x100131238\npop     rbx                                                            ; +0xdc, 0x10013123c\npop     r14                                                            ; +0xdd, 0x10013123d\npop     rbp                                                            ; +0xdf, 0x10013123f\njmp     FMODLevelVisualizer__updateVisualizer                          ; +0xe0, 0x100131240\nretn                                                                   ; +0xe5, 0x100131245", "xrefs": ["GJBaseGameLayer::update @ 0x10012f4ee", "GJBaseGameLayer::update @ 0x100130ce5"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}