{"type": "func", "start": 5373194496, "end": 5373194717, "name": "LevelPage::playStep2", "pseudocode": "// \n// LevelPage::playStep2 from 0x140447100 to 0x1404471dd (221 bytes)\n// \n// 2 xrefs:\n// > LevelPage::onPlay @ 0x140447098\n// > <???> @ 0x140927230\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 11:32:23 +0000\n// \n\nstruct cocos2d::CCAction *__fastcall LevelPage::playStep2(__int64 *a1)\n{\n  _QWORD *AudioFileName; // rbx\n  __int64 v3; // rcx\n  __int64 v4; // rbx\n  struct cocos2d::CCFiniteTimeAction *v5; // rax\n  struct cocos2d::CCAction *v6; // rax\n  _QWORD v8[5]; // [rsp+50h] [rbp-28h] BYREF\n  void *v9; // [rsp+88h] [rbp+10h]\n\n  AudioFileName = GJGameLevel::getAudioFileName(a1[53], v8);\n  v3 = qword_14090BF60;\n  if ( !qword_14090BF60 )\n  {\n    v9 = operator new(0x8A8u);\n    qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v9);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60);\n    v3 = qword_14090BF60;\n  }\n  FMODAudioEngine::loadMusic(v3, (__int64)AudioFileName, 1.0, 0.0, 1065353216, 1, 0, 0, 0);\n  v4 = cocos2d::CCCallFunc::create(a1, LevelPage::playStep3);\n  v5 = cocos2d::CCDelayTime::create(0.0);\n  v6 = cocos2d::CCSequence::create(v5, v4, 0);\n  return cocos2d::CCNode::runAction((cocos2d::CCNode *)a1, v6);\n}", "assembly": "; \n; LevelPage::playStep2 from 0x140447100 to 0x1404471dd (221 bytes)\n; \n; 2 xrefs:\n; > LevelPage::onPlay @ 0x140447098\n; > <???> @ 0x140927230\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 11:32:23 +0000\n; \nmov     r11, rsp                                                       ; +0x0, 0x140447100\nmov     [r11+18h], rbx                                                 ; +0x3, 0x140447103\npush    rdi                                                            ; +0x7, 0x140447107\nsub     rsp, 70h                                                       ; +0x8, 0x140447108\nmov     rdi, rcx                                                       ; +0xc, 0x14044710c\nlea     rax, [r11-28h]                                                 ; +0xf, 0x14044710f\nmov     [r11+8], rax                                                   ; +0x13, 0x140447113\nlea     rdx, [r11-28h]                                                 ; +0x17, 0x140447117\nmov     rcx, [rcx+1A8h]                                                ; +0x1b, 0x14044711b\ncall    GJGameLevel__getAudioFileName                                  ; +0x22, 0x140447122\nmov     rbx, rax                                                       ; +0x27, 0x140447127\nmov     rcx, cs:qword_14090BF60                                        ; +0x2a, 0x14044712a\ntest    rcx, rcx                                                       ; +0x31, 0x140447131\njnz     short loc_14044716B                                            ; +0x34, 0x140447134\nmov     ecx, 8A8h; Size                                                ; +0x36, 0x140447136\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x3b, 0x14044713b\nmov     [rsp+78h+arg_8], rax                                           ; +0x40, 0x140447140\nmov     rcx, rax                                                       ; +0x48, 0x140447148\ncall    FMODAudioEngine__FMODAudioEngine                               ; +0x4b, 0x14044714b\nnop                                                                    ; +0x50, 0x140447150\nmov     cs:qword_14090BF60, rax                                        ; +0x51, 0x140447151\nmov     rcx, [rax]                                                     ; +0x58, 0x140447158\nmov     rdx, [rcx+48h]                                                 ; +0x5b, 0x14044715b\nmov     rcx, rax                                                       ; +0x5f, 0x14044715f\ncall    rdx                                                            ; +0x62, 0x140447162\nmov     rcx, cs:qword_14090BF60                                        ; +0x64, 0x140447164\nmov     [rsp+78h+var_38], 0                                            ; +0x6b, 0x14044716b\nxor     eax, eax                                                       ; +0x70, 0x140447170\nmov     [rsp+78h+var_40], eax                                          ; +0x72, 0x140447172\nmov     [rsp+78h+var_48], eax                                          ; +0x76, 0x140447176\nmov     [rsp+78h+var_50], 1                                            ; +0x7a, 0x14044717a\nmovss   xmm2, cs:flt_140835080                                         ; +0x7f, 0x14044717f\nmovss   [rsp+78h+var_58], xmm2                                         ; +0x87, 0x140447187\nxorps   xmm3, xmm3                                                     ; +0x8d, 0x14044718d\nmov     rdx, rbx                                                       ; +0x90, 0x140447190\ncall    FMODAudioEngine__loadMusic                                     ; +0x93, 0x140447193\nlea     rdx, LevelPage__playStep3                                      ; +0x98, 0x140447198\nmov     rcx, rdi                                                       ; +0x9f, 0x14044719f\ncall    cs:?create@CCCallFunc@cocos2d@@SAPEAV12@PEAVCCObject@2@P832@EAAXXZ@Z; cocos2d::CCCallFunc::create(cocos2d::CCObject *,void (cocos2d::CCObject::*)(void)) ; +0xa2, 0x1404471a2\nmov     rbx, rax                                                       ; +0xa8, 0x1404471a8\nxorps   xmm0, xmm0                                                     ; +0xab, 0x1404471ab\ncall    cs:?create@CCDelayTime@cocos2d@@SAPEAV12@M@Z; cocos2d::CCDelayTime::create(float) ; +0xae, 0x1404471ae\nmov     rcx, rax                                                       ; +0xb4, 0x1404471b4\nxor     r8d, r8d                                                       ; +0xb7, 0x1404471b7\nmov     rdx, rbx                                                       ; +0xba, 0x1404471ba\ncall    cs:?create@CCSequence@cocos2d@@SAPEAV12@PEAVCCFiniteTimeAction@2@ZZ; cocos2d::CCSequence::create(cocos2d::CCFiniteTimeAction *,...) ; +0xbd, 0x1404471bd\nmov     rdx, rax                                                       ; +0xc3, 0x1404471c3\nmov     rcx, rdi                                                       ; +0xc6, 0x1404471c6\nmov     rbx, [rsp+78h+arg_10]                                          ; +0xc9, 0x1404471c9\nadd     rsp, 70h                                                       ; +0xd1, 0x1404471d1\npop     rdi                                                            ; +0xd5, 0x1404471d5\njmp     cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0xd6, 0x1404471d6", "xrefs": ["LevelPage::onPlay @ 0x140447098", "<???> @ 0x140927230"], "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"}