{"type": "func", "start": 4298637776, "end": 4298637841, "name": "GameManager::videoAdShowed", "pseudocode": "// \n// GameManager::videoAdShowed from 0x1003801d0 to 0x100380211 (65 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 __fastcall GameManager::videoAdShowed(GameManager *a1)\n{\n  FMODAudioEngine *v1; // rax\n  bool v2; // r14\n  FMODAudioEngine *v3; // rax\n\n  v1 = FMODAudioEngine::sharedEngine();\n  v2 = 0;\n  if ( FMODAudioEngine::isMusicPlaying_1(v1, 0) )\n  {\n    v3 = FMODAudioEngine::sharedEngine();\n    FMODAudioEngine::pauseAllMusic(v3, 1);\n    v2 = 1;\n  }\n  a1->m_musicPaused = v2;\n}", "assembly": "; \n; GameManager::videoAdShowed from 0x1003801d0 to 0x100380211 (65 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    rbp                                                            ; +0x0, 0x1003801d0\nmov     rbp, rsp                                                       ; +0x1, 0x1003801d1\npush    r14                                                            ; +0x4, 0x1003801d4\npush    rbx                                                            ; +0x6, 0x1003801d6\nmov     rbx, rdi                                                       ; +0x7, 0x1003801d7\ncall    FMODAudioEngine__sharedEngine                                  ; +0xa, 0x1003801da\nxor     r14d, r14d                                                     ; +0xf, 0x1003801df\nmov     rdi, rax                                                       ; +0x12, 0x1003801e2\nxor     esi, esi                                                       ; +0x15, 0x1003801e5\ncall    FMODAudioEngine__isMusicPlaying_1                              ; +0x17, 0x1003801e7\ntest    al, al                                                         ; +0x1c, 0x1003801ec\njz      short loc_100380205                                            ; +0x1e, 0x1003801ee\ncall    FMODAudioEngine__sharedEngine                                  ; +0x20, 0x1003801f0\nmov     rdi, rax                                                       ; +0x25, 0x1003801f5\nmov     esi, 1                                                         ; +0x28, 0x1003801f8\ncall    FMODAudioEngine__pauseAllMusic                                 ; +0x2d, 0x1003801fd\nmov     r14b, 1                                                        ; +0x32, 0x100380202\nmov     [rbx+298h], r14b                                               ; +0x35, 0x100380205\npop     rbx                                                            ; +0x3c, 0x10038020c\npop     r14                                                            ; +0x3d, 0x10038020d\npop     rbp                                                            ; +0x3f, 0x10038020f\nretn                                                                   ; +0x40, 0x100380210", "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"}