{"type": "func", "start": 5372701728, "end": 5372701881, "name": "RewardUnlockLayer::playDropSound", "pseudocode": "// \n// RewardUnlockLayer::playDropSound from 0x1403cec20 to 0x1403cecb9 (153 bytes)\n// \n// 2 xrefs:\n// > RewardUnlockLayer::init @ 0x1403ce513\n// > <???> @ 0x1406d7c28\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\n// Hidden C++ exception states: #wind=2\nvoid RewardUnlockLayer::playDropSound(RewardUnlockLayer *a1)\n{\n  int v1; // ecx\n  _WORD v2[8]; // [rsp+20h] [rbp-28h] BYREF\n  __int64 v3; // [rsp+30h] [rbp-18h]\n  __int64 v4; // [rsp+38h] [rbp-10h]\n  FMODAudioEngine *v5; // [rsp+60h] [rbp+18h]\n\n  v2[7] = 0;\n  v3 = 13;\n  v4 = 15;\n  strcpy((char *)v2, \"chestLand.ogg\");\n  v1 = qword_1406C2E88;\n  if ( !qword_1406C2E88 )\n  {\n    v5 = (FMODAudioEngine *)operator new(0x888u);\n    qword_1406C2E88 = (__int64)FMODAudioEngine::FMODAudioEngine(v5);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2E88 + 72LL))(qword_1406C2E88);\n    v1 = qword_1406C2E88;\n  }\n  FMODAudioEngine::playEffect_1(v1, (__int64)v2);\n}", "assembly": "; \n; RewardUnlockLayer::playDropSound from 0x1403cec20 to 0x1403cecb9 (153 bytes)\n; \n; 2 xrefs:\n; > RewardUnlockLayer::init @ 0x1403ce513\n; > <???> @ 0x1406d7c28\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\nsub     rsp, 48h                                                       ; +0x0, 0x1403cec20\nlea     rax, [rsp+48h+var_28]                                          ; +0x4, 0x1403cec24\nmov     [rsp+48h+arg_8], rax                                           ; +0x9, 0x1403cec29\nxor     eax, eax                                                       ; +0xe, 0x1403cec2e\nmov     word ptr [rsp+48h+var_28+0Eh], ax                              ; +0x10, 0x1403cec30\nmov     [rsp+48h+var_18], 0Dh                                          ; +0x15, 0x1403cec35\nmov     [rsp+48h+var_10], 0Fh                                          ; +0x1e, 0x1403cec3e\nmovsd   xmm0, cs:qword_1405CD468                                       ; +0x27, 0x1403cec47\nmovsd   qword ptr [rsp+48h+var_28], xmm0                               ; +0x2f, 0x1403cec4f\nmov     eax, cs:dword_1405CD470                                        ; +0x35, 0x1403cec55\nmov     dword ptr [rsp+48h+var_28+8], eax                              ; +0x3b, 0x1403cec5b\nmovzx   eax, cs:byte_1405CD474                                         ; +0x3f, 0x1403cec5f\nmov     [rsp+48h+var_28+0Ch], al                                       ; +0x46, 0x1403cec66\nmov     [rsp+48h+var_28+0Dh], 0                                        ; +0x4a, 0x1403cec6a\nmov     rcx, cs:qword_1406C2E88                                        ; +0x4f, 0x1403cec6f\ntest    rcx, rcx                                                       ; +0x56, 0x1403cec76\njnz     short loc_1403CECAA                                            ; +0x59, 0x1403cec79\nmov     ecx, 888h; Size                                                ; +0x5b, 0x1403cec7b\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x60, 0x1403cec80\nmov     [rsp+48h+arg_10], rax                                          ; +0x65, 0x1403cec85\nmov     rcx, rax                                                       ; +0x6a, 0x1403cec8a\ncall    FMODAudioEngine__FMODAudioEngine                               ; +0x6d, 0x1403cec8d\nnop                                                                    ; +0x72, 0x1403cec92\nmov     cs:qword_1406C2E88, rax                                        ; +0x73, 0x1403cec93\nmov     rdx, [rax]                                                     ; +0x7a, 0x1403cec9a\nmov     rcx, rax                                                       ; +0x7d, 0x1403cec9d\ncall    qword ptr [rdx+48h]                                            ; +0x80, 0x1403ceca0\nmov     rcx, cs:qword_1406C2E88                                        ; +0x83, 0x1403ceca3\nlea     rdx, [rsp+48h+var_28]                                          ; +0x8a, 0x1403cecaa\ncall    FMODAudioEngine__playEffect_1                                  ; +0x8f, 0x1403cecaf\nadd     rsp, 48h                                                       ; +0x94, 0x1403cecb4\nretn                                                                   ; +0x98, 0x1403cecb8", "xrefs": ["RewardUnlockLayer::init @ 0x1403ce513", "<???> @ 0x1406d7c28"], "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"}