{"type": "func", "start": 5373043472, "end": 5373043693, "name": "LevelInfoLayer::playStep2", "pseudocode": "// \n// LevelInfoLayer::playStep2 from 0x140422310 to 0x1404223ed (221 bytes)\n// \n// 2 xrefs:\n// > LevelInfoLayer::onPlay @ 0x140421ee4\n// > <???> @ 0x14092684c\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:09 +0000\n// \n\nstruct cocos2d::CCAction *__fastcall LevelInfoLayer::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[63], 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, LevelInfoLayer::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; LevelInfoLayer::playStep2 from 0x140422310 to 0x1404223ed (221 bytes)\n; \n; 2 xrefs:\n; > LevelInfoLayer::onPlay @ 0x140421ee4\n; > <???> @ 0x14092684c\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:09 +0000\n; \nmov     r11, rsp                                                       ; +0x0, 0x140422310\nmov     [r11+18h], rbx                                                 ; +0x3, 0x140422313\npush    rdi                                                            ; +0x7, 0x140422317\nsub     rsp, 70h                                                       ; +0x8, 0x140422318\nmov     rdi, rcx                                                       ; +0xc, 0x14042231c\nlea     rax, [r11-28h]                                                 ; +0xf, 0x14042231f\nmov     [r11+8], rax                                                   ; +0x13, 0x140422323\nlea     rdx, [r11-28h]                                                 ; +0x17, 0x140422327\nmov     rcx, [rcx+1F8h]                                                ; +0x1b, 0x14042232b\ncall    GJGameLevel__getAudioFileName                                  ; +0x22, 0x140422332\nmov     rbx, rax                                                       ; +0x27, 0x140422337\nmov     rcx, cs:qword_14090BF60                                        ; +0x2a, 0x14042233a\ntest    rcx, rcx                                                       ; +0x31, 0x140422341\njnz     short loc_14042237B                                            ; +0x34, 0x140422344\nmov     ecx, 8A8h; Size                                                ; +0x36, 0x140422346\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x3b, 0x14042234b\nmov     [rsp+78h+arg_8], rax                                           ; +0x40, 0x140422350\nmov     rcx, rax                                                       ; +0x48, 0x140422358\ncall    FMODAudioEngine__FMODAudioEngine                               ; +0x4b, 0x14042235b\nnop                                                                    ; +0x50, 0x140422360\nmov     cs:qword_14090BF60, rax                                        ; +0x51, 0x140422361\nmov     rcx, [rax]                                                     ; +0x58, 0x140422368\nmov     rdx, [rcx+48h]                                                 ; +0x5b, 0x14042236b\nmov     rcx, rax                                                       ; +0x5f, 0x14042236f\ncall    rdx                                                            ; +0x62, 0x140422372\nmov     rcx, cs:qword_14090BF60                                        ; +0x64, 0x140422374\nmov     [rsp+78h+var_38], 0                                            ; +0x6b, 0x14042237b\nxor     eax, eax                                                       ; +0x70, 0x140422380\nmov     [rsp+78h+var_40], eax                                          ; +0x72, 0x140422382\nmov     [rsp+78h+var_48], eax                                          ; +0x76, 0x140422386\nmov     [rsp+78h+var_50], 1                                            ; +0x7a, 0x14042238a\nmovss   xmm2, cs:flt_140835080                                         ; +0x7f, 0x14042238f\nmovss   [rsp+78h+var_58], xmm2                                         ; +0x87, 0x140422397\nxorps   xmm3, xmm3                                                     ; +0x8d, 0x14042239d\nmov     rdx, rbx                                                       ; +0x90, 0x1404223a0\ncall    FMODAudioEngine__loadMusic                                     ; +0x93, 0x1404223a3\nlea     rdx, LevelInfoLayer__playStep3                                 ; +0x98, 0x1404223a8\nmov     rcx, rdi                                                       ; +0x9f, 0x1404223af\ncall    cs:?create@CCCallFunc@cocos2d@@SAPEAV12@PEAVCCObject@2@P832@EAAXXZ@Z; cocos2d::CCCallFunc::create(cocos2d::CCObject *,void (cocos2d::CCObject::*)(void)) ; +0xa2, 0x1404223b2\nmov     rbx, rax                                                       ; +0xa8, 0x1404223b8\nxorps   xmm0, xmm0                                                     ; +0xab, 0x1404223bb\ncall    cs:?create@CCDelayTime@cocos2d@@SAPEAV12@M@Z; cocos2d::CCDelayTime::create(float) ; +0xae, 0x1404223be\nmov     rcx, rax                                                       ; +0xb4, 0x1404223c4\nxor     r8d, r8d                                                       ; +0xb7, 0x1404223c7\nmov     rdx, rbx                                                       ; +0xba, 0x1404223ca\ncall    cs:?create@CCSequence@cocos2d@@SAPEAV12@PEAVCCFiniteTimeAction@2@ZZ; cocos2d::CCSequence::create(cocos2d::CCFiniteTimeAction *,...) ; +0xbd, 0x1404223cd\nmov     rdx, rax                                                       ; +0xc3, 0x1404223d3\nmov     rcx, rdi                                                       ; +0xc6, 0x1404223d6\nmov     rbx, [rsp+78h+arg_10]                                          ; +0xc9, 0x1404223d9\nadd     rsp, 70h                                                       ; +0xd1, 0x1404223e1\npop     rdi                                                            ; +0xd5, 0x1404223e5\njmp     cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0xd6, 0x1404223e6", "xrefs": ["LevelInfoLayer::onPlay @ 0x140421ee4", "<???> @ 0x14092684c"], "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"}