{"type": "func", "start": 5372546864, "end": 5372548421, "name": "PlayLayer::showCompleteEffect", "pseudocode": "// \n// PlayLayer::showCompleteEffect from 0x1403a8f30 to 0x1403a9545 (1557 bytes)\n// \n// 2 xrefs:\n// > PlayLayer::levelComplete @ 0x1403a886d\n// > <???> @ 0x1406d6bf0\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=5\nvoid PlayLayer::showCompleteEffect(PlayLayer *m_noSFX)\n{\n  float v1; // xmm3_4\n  PlayLayer *v2; // rdi\n  EndTriggerGameObject *m_platformerEndTrigger; // rax\n  bool m_noEffects; // bl\n  char v5; // si\n  int v6; // ecx\n  float v7; // xmm6_4\n  EndPortalObject *m_endPortal; // rax\n  float v9; // xmm7_4\n  float v10; // xmm8_4\n  float v11; // xmm7_4\n  float v12; // xmm14_4\n  float v13; // xmm12_4\n  cocos2d::CCDirector *v14; // rax\n  float v15; // xmm2_4\n  float v16; // xmm9_4\n  FMODAudioEngine *v17; // rbx\n  PlayerObject *m_player1; // rcx\n  EndPortalObject *v19; // rcx\n  double v20; // xmm0_8\n  bool m_skipCameraShake; // bl\n  float v22; // xmm6_4\n  float v23; // xmm8_4\n  __int64 v24; // rbx\n  struct cocos2d::CCDelayTime *v25; // rax\n  struct cocos2d::CCSequence *v26; // rax\n  cocos2d::ccColor3B *v27; // r8\n  __int64 v28; // rbx\n  int v29; // r8d\n  __int64 v30; // rax\n  FMOD::Channel *v31; // rax\n  float v32; // [rsp+28h] [rbp-110h]\n  bool v33; // [rsp+98h] [rbp-A0h]\n  bool v34; // [rsp+A0h] [rbp-98h]\n  char v35[16]; // [rsp+B8h] [rbp-80h] BYREF\n  __int64 v36; // [rsp+C8h] [rbp-70h]\n  __int64 v37; // [rsp+D0h] [rbp-68h]\n  FMODAudioEngine *v38; // [rsp+188h] [rbp+50h] BYREF\n  FMODAudioEngine *v39; // [rsp+190h] [rbp+58h]\n  cocos2d::CCPoint v40; // [rsp+198h] [rbp+60h] BYREF\n  char v41; // [rsp+1A0h] [rbp+68h] BYREF\n\n  v2 = m_noSFX;\n  m_platformerEndTrigger = m_noSFX->m_platformerEndTrigger;\n  if ( !m_platformerEndTrigger )\n  {\n    m_noEffects = 0;\n    LOBYTE(m_noSFX) = 0;\nLABEL_3:\n    v5 = 0;\n    goto LABEL_4;\n  }\n  m_noEffects = m_platformerEndTrigger->m_noEffects;\n  m_noSFX = (PlayLayer *)m_platformerEndTrigger->m_noSFX;\n  if ( !m_noEffects || !(_BYTE)m_noSFX || !m_platformerEndTrigger->m_instant )\n    goto LABEL_3;\n  v5 = 1;\nLABEL_4:\n  if ( !(_BYTE)m_noSFX )\n  {\n    v38 = (FMODAudioEngine *)v35;\n    v36 = 15;\n    v37 = 15;\n    strcpy(v35, \"endStart_02.ogg\");\n    v6 = qword_1406C2E88;\n    if ( !qword_1406C2E88 )\n    {\n      v39 = (FMODAudioEngine *)operator new(0x888u);\n      qword_1406C2E88 = (__int64)FMODAudioEngine::FMODAudioEngine(v39);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2E88 + 72LL))(qword_1406C2E88);\n      v6 = qword_1406C2E88;\n    }\n    FMODAudioEngine::playEffect_1(v6, (__int64)v35);\n  }\n  v7 = 8.0;\n  m_endPortal = v2->m_endPortal;\n  if ( m_endPortal && m_endPortal->m_flippedX )\n    v9 = -1.0;\n  else\n    v9 = 1.0;\n  v10 = v9 * 30.0;\n  v11 = v9 * -90.0;\n  v12 = 45.0;\n  v13 = 1.0;\n  if ( v2->m_isPlatformer || v2->m_platformerEndTrigger )\n  {\n    v10 = 0.0;\n    v11 = 0.0;\n    v12 = 180.0;\n    v7 = 16.0;\n    v13 = 0.5;\n  }\n  if ( m_noEffects )\n  {\n    v22 = v7 + 2.0;\n  }\n  else\n  {\n    v14 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(m_noSFX);\n    cocos2d::CCDirector::getWinSize(v14);\n    v15 = (float)((float)((float)(*((float *)&v39 + 1) / v2->m_gameState.m_cameraZoom) * 0.5)\n                * (float)((float)(*((float *)&v39 + 1) / v2->m_gameState.m_cameraZoom) * 0.5))\n        + (float)((float)(*(float *)&v39 / v2->m_gameState.m_cameraZoom)\n                * (float)(*(float *)&v39 / v2->m_gameState.m_cameraZoom));\n    if ( v15 < 0.0 )\n      v16 = sqrtf(v15);\n    else\n      v16 = fsqrt(v15);\n    v17 = (FMODAudioEngine *)operator new(0x168u);\n    v38 = v17;\n    cocos2d::CCNode::CCNode(v17);\n    v17->__vftable = (FMODAudioEngine_vtbl *)&CCLightFlash::`vftable';\n    *(_QWORD *)&v17->m_fmodMusic._Traitsobj._Mypair._Myval2._Myval2 = 0;\n    v17->m_fmodMusic._List._Mypair._Myval2._Myhead = nullptr;\n    LOBYTE(v17->m_fmodMusic._List._Mypair._Myval2._Mysize) = 0;\n    v17->m_fmodMusic._Vec._Mypair._Myval2._Myfirst = nullptr;\n    LODWORD(v17->m_fmodMusic._Vec._Mypair._Myval2._Mylast) = 0;\n    cocos2d::CCObject::autorelease(v17);\n    v2->m_objectLayer->addChild_0(v2->m_objectLayer, v17, 0);\n    v17->m_fmodMusic._Vec._Mypair._Myval2._Myfirst = (std::_Vector_val<std::_Simple_types<std::_List_unchecked_iterator<std::_List_val<std::_List_simple_types<std::pair<const int, FMODMusic>>>>>>::pointer)v2->getParent(v2);\n    LODWORD(v17->m_fmodMusic._Vec._Mypair._Myval2._Mylast) = 100;\n    m_player1 = v2->m_player1;\n    LOWORD(v38) = *(_WORD *)&m_player1->m_playerColor1.r;\n    BYTE2(v38) = m_player1->m_playerColor1.b;\n    if ( !v2->m_isPlatformer )\n    {\n      v19 = v2->m_endPortal;\n      if ( v19 )\n      {\n        if ( !v2->m_platformerEndTrigger )\n          v19->getPosition_0(v19);\n      }\n    }\n    v20 = cocos2d::CCPoint::CCPoint(&v40);\n    cocos2d::CCPoint::CCPoint(*(float *)&v20, v10);\n    cocos2d::CCPoint::operator+(&v40, &v41);\n    v1 = 1.0;\n    CCLightFlash::playEffect(\n      (CCLightFlash *)v17,\n      (cocos2d::CCPoint)&v41,\n      (cocos2d::ccColor3B *)&v38,\n      1.0,\n      0.0,\n      30.0,\n      20.0,\n      (float)(v16 + v10) + 10.0,\n      v13 * 0.18000001,\n      v13 * 0.039999999,\n      v13 * 0.19499999,\n      v13 * 0.039999999,\n      v13 * 0.039999999,\n      v11,\n      v12,\n      155.0,\n      100.0,\n      (int)v7,\n      v33,\n      v34,\n      0.40000001);\n    m_skipCameraShake = v2->m_skipCameraShake;\n    v2->m_skipCameraShake = 0;\n    v22 = v7 + 2.0;\n    v23 = (float)(v22 * 0.19499999) * v13;\n    if ( v23 > 0.0 )\n    {\n      v2->m_gameState.m_unkUint64_1 = 0.0;\n      cocos2d::CCPoint::operator=(&v2->m_gameState.m_unkPoint34, &dword_1406C1D28);\n      v2->m_gameState.m_cameraShakeFactor = v23;\n      *(_QWORD *)&v2->m_gameState.m_unkUint15 = 1077936128;\n      v2->m_staticCameraShake = 0;\n    }\n    v2->m_skipCameraShake = m_skipCameraShake;\n  }\n  if ( v5 )\n  {\n    PlayLayer::showCompleteText(v2);\n  }\n  else\n  {\n    v24 = cocos2d::CCCallFunc::create(v2, PlayLayer::showCompleteText);\n    v25 = cocos2d::CCDelayTime::create((float)(v22 * 0.19499999) * v13);\n    v26 = cocos2d::CCSequence::create(v25, v24, 0);\n    cocos2d::CCNode::runAction((CCLightFlash *)v2, (cocos2d::CCPoint)v26, v27, v1, v32);\n  }\n  if ( !qword_1406C2E88 )\n  {\n    v38 = (FMODAudioEngine *)operator new(0x888u);\n    qword_1406C2E88 = (__int64)FMODAudioEngine::FMODAudioEngine(v38);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2E88 + 72LL))(qword_1406C2E88);\n  }\n  v28 = qword_1406C2E88;\n  LODWORD(v38) = 0;\n  if ( sub_14005F8D0((_QWORD *)(qword_1406C2E88 + 320), (unsigned __int8 *)&v38) )\n  {\n    v30 = sub_140061560((_QWORD *)(v28 + 320), (__int64)v35, (unsigned __int8 *)&v38);\n    v31 = FMODAudioEngine::channelForChannelID((FMODAudioEngine *)v28, *(_DWORD *)(*(_QWORD *)v30 + 24LL));\n    if ( v31 )\n      FMOD::Channel::setLoopCount(v31, 0);\n  }\n  if ( v2->m_levelSettings->m_fadeOut || v2->m_level->m_levelID.random - v2->m_level->m_levelID.seed == 3001 )\n  {\n    if ( !qword_1406C2E88 )\n    {\n      v39 = (FMODAudioEngine *)operator new(0x888u);\n      qword_1406C2E88 = (__int64)FMODAudioEngine::FMODAudioEngine(v39);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2E88 + 72LL))(qword_1406C2E88);\n    }\n    FMODAudioEngine::fadeOutMusic((FMODAudioEngine *)qword_1406C2E88, 2.0, v29);\n  }\n}", "assembly": "; \n; PlayLayer::showCompleteEffect from 0x1403a8f30 to 0x1403a9545 (1557 bytes)\n; \n; 2 xrefs:\n; > PlayLayer::levelComplete @ 0x1403a886d\n; > <???> @ 0x1406d6bf0\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\nmov     rax, rsp                                                       ; +0x0, 0x1403a8f30\npush    rbp                                                            ; +0x3, 0x1403a8f33\npush    rbx                                                            ; +0x4, 0x1403a8f34\npush    rsi                                                            ; +0x5, 0x1403a8f35\npush    rdi                                                            ; +0x6, 0x1403a8f36\npush    r14                                                            ; +0x7, 0x1403a8f37\nlea     rbp, [rax-48h]                                                 ; +0x9, 0x1403a8f39\nsub     rsp, 150h                                                      ; +0xd, 0x1403a8f3d\nmovaps  xmmword ptr [rax-38h], xmm6                                    ; +0x14, 0x1403a8f44\nmovaps  xmmword ptr [rax-48h], xmm7                                    ; +0x18, 0x1403a8f48\nmovaps  xmmword ptr [rax-58h], xmm8                                    ; +0x1c, 0x1403a8f4c\nmovaps  xmmword ptr [rax-68h], xmm9                                    ; +0x21, 0x1403a8f51\nmovaps  xmmword ptr [rax-78h], xmm11                                   ; +0x26, 0x1403a8f56\nmovaps  xmmword ptr [rax-88h], xmm12                                   ; +0x2b, 0x1403a8f5b\nmovaps  xmmword ptr [rax-98h], xmm14                                   ; +0x33, 0x1403a8f63\nmovaps  xmmword ptr [rax-0A8h], xmm15                                  ; +0x3b, 0x1403a8f6b\nmov     rdi, rcx                                                       ; +0x43, 0x1403a8f73\nmov     rax, [rcx+3A80h]                                               ; +0x46, 0x1403a8f76\ntest    rax, rax                                                       ; +0x4d, 0x1403a8f7d\njnz     loc_1403A9045                                                  ; +0x50, 0x1403a8f80\nxor     bl, bl                                                         ; +0x56, 0x1403a8f86\nxor     cl, cl                                                         ; +0x58, 0x1403a8f88\nxor     sil, sil                                                       ; +0x5a, 0x1403a8f8a\ntest    cl, cl                                                         ; +0x5d, 0x1403a8f8d\njnz     loc_1403A901E                                                  ; +0x5f, 0x1403a8f8f\nlea     rax, [rbp+40h+var_C0]                                          ; +0x65, 0x1403a8f95\nmov     [rbp+40h+arg_0], rax                                           ; +0x69, 0x1403a8f99\nmov     [rbp+40h+var_B0], 0Fh                                          ; +0x6d, 0x1403a8f9d\nmov     [rbp+40h+var_A8], 0Fh                                          ; +0x75, 0x1403a8fa5\nmovsd   xmm0, cs:qword_140532E40                                       ; +0x7d, 0x1403a8fad\nmovsd   qword ptr [rbp+40h+var_C0], xmm0                               ; +0x85, 0x1403a8fb5\nmov     eax, cs:dword_140532E48                                        ; +0x8a, 0x1403a8fba\nmov     dword ptr [rbp+40h+var_C0+8], eax                              ; +0x90, 0x1403a8fc0\nmovzx   eax, cs:word_140532E4C                                         ; +0x93, 0x1403a8fc3\nmov     word ptr [rbp+40h+var_C0+0Ch], ax                              ; +0x9a, 0x1403a8fca\nmovzx   eax, cs:byte_140532E4E                                         ; +0x9e, 0x1403a8fce\nmov     [rbp+40h+var_C0+0Eh], al                                       ; +0xa5, 0x1403a8fd5\nmov     [rbp+40h+var_C0+0Fh], cl                                       ; +0xa8, 0x1403a8fd8\nmov     rcx, cs:qword_1406C2E88                                        ; +0xab, 0x1403a8fdb\ntest    rcx, rcx                                                       ; +0xb2, 0x1403a8fe2\njnz     short loc_1403A9015                                            ; +0xb5, 0x1403a8fe5\nmov     ecx, 888h; Size                                                ; +0xb7, 0x1403a8fe7\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xbc, 0x1403a8fec\nmov     [rbp+40h+arg_8], rax                                           ; +0xc1, 0x1403a8ff1\nmov     rcx, rax                                                       ; +0xc5, 0x1403a8ff5\ncall    FMODAudioEngine__FMODAudioEngine                               ; +0xc8, 0x1403a8ff8\nnop                                                                    ; +0xcd, 0x1403a8ffd\nmov     cs:qword_1406C2E88, rax                                        ; +0xce, 0x1403a8ffe\nmov     rdx, [rax]                                                     ; +0xd5, 0x1403a9005\nmov     rcx, rax                                                       ; +0xd8, 0x1403a9008\ncall    qword ptr [rdx+48h]                                            ; +0xdb, 0x1403a900b\nmov     rcx, cs:qword_1406C2E88                                        ; +0xde, 0x1403a900e\nlea     rdx, [rbp+40h+var_C0]                                          ; +0xe5, 0x1403a9015\ncall    FMODAudioEngine__playEffect_1                                  ; +0xe9, 0x1403a9019\nmovss   xmm6, cs:dword_140623068                                       ; +0xee, 0x1403a901e\nmov     rax, [rdi+3228h]                                               ; +0xf6, 0x1403a9026\ntest    rax, rax                                                       ; +0xfd, 0x1403a902d\njz      short loc_1403A9078                                            ; +0x100, 0x1403a9030\ncmp     byte ptr [rax+558h], 0                                         ; +0x102, 0x1403a9032\njz      short loc_1403A9078                                            ; +0x109, 0x1403a9039\nmovss   xmm7, cs:dword_1406236F0                                       ; +0x10b, 0x1403a903b\njmp     short loc_1403A9080                                            ; +0x113, 0x1403a9043\nmovzx   ebx, byte ptr [rax+740h]                                       ; +0x115, 0x1403a9045\nmovzx   ecx, byte ptr [rax+741h]                                       ; +0x11c, 0x1403a904c\ntest    bl, bl                                                         ; +0x123, 0x1403a9053\njz      loc_1403A8F8A                                                  ; +0x125, 0x1403a9055\ntest    cl, cl                                                         ; +0x12b, 0x1403a905b\njz      loc_1403A8F8A                                                  ; +0x12d, 0x1403a905d\ncmp     byte ptr [rax+742h], 0                                         ; +0x133, 0x1403a9063\njz      loc_1403A8F8A                                                  ; +0x13a, 0x1403a906a\nmov     sil, 1                                                         ; +0x140, 0x1403a9070\njmp     loc_1403A8F8D                                                  ; +0x143, 0x1403a9073\nmovss   xmm7, cs:flt_140622C24                                         ; +0x148, 0x1403a9078\nmovaps  xmm8, xmm7                                                     ; +0x150, 0x1403a9080\nmovss   xmm15, cs:dword_140623164                                      ; +0x154, 0x1403a9084\nmulss   xmm8, xmm15                                                    ; +0x15d, 0x1403a908d\nmulss   xmm7, cs:dword_1406239C0                                       ; +0x162, 0x1403a9092\nmovss   xmm14, cs:dword_1406231D0                                      ; +0x16a, 0x1403a909a\nmovss   xmm12, cs:flt_140622C24                                        ; +0x173, 0x1403a90a3\nxorps   xmm11, xmm11                                                   ; +0x17c, 0x1403a90ac\nmovss   xmm9, cs:dword_140622B08                                       ; +0x180, 0x1403a90b0\ncmp     byte ptr [rdi+309Eh], 0                                        ; +0x189, 0x1403a90b9\njnz     short loc_1403A90CC                                            ; +0x190, 0x1403a90c0\ncmp     qword ptr [rdi+3A80h], 0                                       ; +0x192, 0x1403a90c2\njz      short loc_1403A90E8                                            ; +0x19a, 0x1403a90ca\nxorps   xmm8, xmm8                                                     ; +0x19c, 0x1403a90cc\nxorps   xmm7, xmm7                                                     ; +0x1a0, 0x1403a90d0\nmovss   xmm14, cs:dword_1406233A4                                      ; +0x1a3, 0x1403a90d3\nmovss   xmm6, cs:dword_1406230F8                                       ; +0x1ac, 0x1403a90dc\nmovaps  xmm12, xmm9                                                    ; +0x1b4, 0x1403a90e4\nxor     r14d, r14d                                                     ; +0x1b8, 0x1403a90e8\ntest    bl, bl                                                         ; +0x1bb, 0x1403a90eb\njnz     loc_1403A93C1                                                  ; +0x1bd, 0x1403a90ed\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x1c3, 0x1403a90f3\nmov     rcx, rax                                                       ; +0x1c9, 0x1403a90f9\nlea     rdx, [rbp+40h+arg_8]                                           ; +0x1cc, 0x1403a90fc\ncall    cs:?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x1d0, 0x1403a9100\nmovss   xmm0, dword ptr [rdi+1A8h]                                     ; +0x1d6, 0x1403a9106\nmovss   xmm1, dword ptr [rbp+40h+arg_8]                                ; +0x1de, 0x1403a910e\ndivss   xmm1, xmm0                                                     ; +0x1e3, 0x1403a9113\nmovss   xmm2, dword ptr [rbp+40h+arg_8+4]                              ; +0x1e7, 0x1403a9117\ndivss   xmm2, xmm0                                                     ; +0x1ec, 0x1403a911c\nmulss   xmm2, xmm9                                                     ; +0x1f0, 0x1403a9120\nmulss   xmm2, xmm2                                                     ; +0x1f5, 0x1403a9125\nmulss   xmm1, xmm1                                                     ; +0x1f9, 0x1403a9129\naddss   xmm2, xmm1                                                     ; +0x1fd, 0x1403a912d\nxorps   xmm0, xmm0                                                     ; +0x201, 0x1403a9131\nucomiss xmm0, xmm2                                                     ; +0x204, 0x1403a9134\nja      short loc_1403A9144                                            ; +0x207, 0x1403a9137\nxorps   xmm9, xmm9                                                     ; +0x209, 0x1403a9139\nsqrtss  xmm9, xmm2                                                     ; +0x20d, 0x1403a913d\njmp     short loc_1403A9150                                            ; +0x212, 0x1403a9142\nmovaps  xmm0, xmm2; X                                                  ; +0x214, 0x1403a9144\ncall    sqrtf                                                          ; +0x217, 0x1403a9147\nmovaps  xmm9, xmm0                                                     ; +0x21c, 0x1403a914c\nmov     ecx, 168h; Size                                                ; +0x220, 0x1403a9150\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x225, 0x1403a9155\nmov     rbx, rax                                                       ; +0x22a, 0x1403a915a\nmov     [rbp+40h+arg_0], rax                                           ; +0x22d, 0x1403a915d\nmov     rcx, rax                                                       ; +0x231, 0x1403a9161\ncall    cs:??0CCNode@cocos2d@@QEAA@XZ; cocos2d::CCNode::CCNode(void)   ; +0x234, 0x1403a9164\nlea     rax, ??_7CCLightFlash@@6B@; const CCLightFlash::`vftable'      ; +0x23a, 0x1403a916a\nmov     [rbx], rax                                                     ; +0x241, 0x1403a9171\nmov     [rbx+140h], r14                                                ; +0x244, 0x1403a9174\nmov     [rbx+148h], r14                                                ; +0x24b, 0x1403a917b\nmov     byte ptr [rbx+150h], 0                                         ; +0x252, 0x1403a9182\nmov     [rbx+158h], r14                                                ; +0x259, 0x1403a9189\nmov     [rbx+160h], r14d                                               ; +0x260, 0x1403a9190\nmov     rax, cs:off_14052DE80                                          ; +0x267, 0x1403a9197\nlea     rcx, sub_14003C6E0                                             ; +0x26e, 0x1403a919e\ncmp     rax, rcx                                                       ; +0x275, 0x1403a91a5\njz      short loc_1403A91C6                                            ; +0x278, 0x1403a91a8\nmov     rcx, rbx                                                       ; +0x27a, 0x1403a91aa\ncall    rax ; sub_14003C6E0                                            ; +0x27d, 0x1403a91ad\ntest    al, al                                                         ; +0x27f, 0x1403a91af\njnz     short loc_1403A91C6                                            ; +0x281, 0x1403a91b1\nmov     rax, [rbx]                                                     ; +0x283, 0x1403a91b3\nmov     edx, 1                                                         ; +0x286, 0x1403a91b6\nmov     rcx, rbx                                                       ; +0x28b, 0x1403a91bb\ncall    qword ptr [rax+8]                                              ; +0x28e, 0x1403a91be\nmov     rbx, r14                                                       ; +0x291, 0x1403a91c1\njmp     short loc_1403A91CF                                            ; +0x294, 0x1403a91c4\nmov     rcx, rbx                                                       ; +0x296, 0x1403a91c6\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x299, 0x1403a91c9\nmov     rcx, [rdi+0FE8h]                                               ; +0x29f, 0x1403a91cf\nmov     rax, [rcx]                                                     ; +0x2a6, 0x1403a91d6\nxor     r8d, r8d                                                       ; +0x2a9, 0x1403a91d9\nmov     rdx, rbx                                                       ; +0x2ac, 0x1403a91dc\ncall    qword ptr [rax+1B8h]                                           ; +0x2af, 0x1403a91df\nmov     rax, [rdi]                                                     ; +0x2b5, 0x1403a91e5\nmov     rcx, rdi                                                       ; +0x2b8, 0x1403a91e8\ncall    qword ptr [rax+1E8h]                                           ; +0x2bb, 0x1403a91eb\nmov     [rbx+158h], rax                                                ; +0x2c1, 0x1403a91f1\nmov     dword ptr [rbx+160h], 64h ; 'd'                                ; +0x2c8, 0x1403a91f8\nmov     rcx, [rdi+0DA0h]                                               ; +0x2d2, 0x1403a9202\nmovzx   eax, word ptr [rcx+0A8Ah]                                      ; +0x2d9, 0x1403a9209\nmov     word ptr [rbp+40h+arg_0], ax                                   ; +0x2e0, 0x1403a9210\nmovzx   eax, byte ptr [rcx+0A8Ch]                                      ; +0x2e4, 0x1403a9214\nmov     byte ptr [rbp+40h+arg_0+2], al                                 ; +0x2eb, 0x1403a921b\ncmp     byte ptr [rdi+309Eh], 0                                        ; +0x2ee, 0x1403a921e\njnz     short loc_1403A924B                                            ; +0x2f5, 0x1403a9225\nmov     rcx, [rdi+3228h]                                               ; +0x2f7, 0x1403a9227\ntest    rcx, rcx                                                       ; +0x2fe, 0x1403a922e\njz      short loc_1403A924B                                            ; +0x301, 0x1403a9231\ncmp     qword ptr [rdi+3A80h], 0                                       ; +0x303, 0x1403a9233\njnz     short loc_1403A924B                                            ; +0x30b, 0x1403a923b\nmov     rax, [rcx]                                                     ; +0x30d, 0x1403a923d\ncall    qword ptr [rax+0C8h]                                           ; +0x310, 0x1403a9240\nmov     rdx, rax                                                       ; +0x316, 0x1403a9246\njmp     short loc_1403A9252                                            ; +0x319, 0x1403a9249\nlea     rdx, [rdi+3A74h]                                               ; +0x31b, 0x1403a924b\nlea     rcx, [rbp+40h+arg_10]                                          ; +0x322, 0x1403a9252\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x326, 0x1403a9256\nxorps   xmm2, xmm2                                                     ; +0x32c, 0x1403a925c\nmovaps  xmm1, xmm8                                                     ; +0x32f, 0x1403a925f\nlea     rcx, [rbp+40h+var_C0]                                          ; +0x333, 0x1403a9263\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x337, 0x1403a9267\nmov     r8, rax                                                        ; +0x33d, 0x1403a926d\nlea     rdx, [rbp+40h+arg_18]                                          ; +0x340, 0x1403a9270\nlea     rcx, [rbp+40h+arg_10]                                          ; +0x344, 0x1403a9274\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x348, 0x1403a9278\nmovaps  xmm5, xmm12                                                    ; +0x34e, 0x1403a927e\nmulss   xmm5, cs:dword_1406229DC                                       ; +0x352, 0x1403a9282\ncvttss2si eax, xmm6                                                    ; +0x35a, 0x1403a928a\nmovaps  xmm2, xmm12                                                    ; +0x35e, 0x1403a928e\nmulss   xmm2, cs:dword_140622A6C                                       ; +0x362, 0x1403a9292\nmovaps  xmm4, xmm12                                                    ; +0x36a, 0x1403a929a\nmulss   xmm4, cs:dword_140622A68                                       ; +0x36e, 0x1403a929e\naddss   xmm9, xmm8                                                     ; +0x376, 0x1403a92a6\naddss   xmm9, cs:flt_14062307C                                         ; +0x37b, 0x1403a92ab\nmovss   xmm0, cs:dword_140622AD0                                       ; +0x384, 0x1403a92b4\nmovss   [rsp+170h+var_D0], xmm0                                        ; +0x38c, 0x1403a92bc\nmov     [rsp+170h+var_E8], eax                                         ; +0x395, 0x1403a92c5\nmovss   xmm1, cs:dword_1406232BC                                       ; +0x39c, 0x1403a92cc\nmovss   [rsp+170h+var_F0], xmm1                                        ; +0x3a4, 0x1403a92d4\nmovss   xmm0, cs:dword_140623360                                       ; +0x3ad, 0x1403a92dd\nmovss   [rsp+170h+var_F8], xmm0                                        ; +0x3b5, 0x1403a92e5\nmovss   [rsp+170h+var_100], xmm14                                      ; +0x3bb, 0x1403a92eb\nmovss   [rsp+170h+var_108], xmm7                                       ; +0x3c2, 0x1403a92f2\nmovss   [rsp+170h+var_110], xmm5                                       ; +0x3c8, 0x1403a92f8\nmovss   [rsp+170h+var_118], xmm5                                       ; +0x3ce, 0x1403a92fe\nmovss   [rsp+170h+var_120], xmm2                                       ; +0x3d4, 0x1403a9304\nmovss   [rsp+170h+var_128], xmm5                                       ; +0x3da, 0x1403a930a\nmovss   [rsp+170h+var_130], xmm4                                       ; +0x3e0, 0x1403a9310\nmovss   [rsp+170h+var_138], xmm9                                       ; +0x3e6, 0x1403a9316\nmovss   xmm0, cs:dword_140623120                                       ; +0x3ed, 0x1403a931d\nmovss   [rsp+170h+var_140], xmm0                                       ; +0x3f5, 0x1403a9325\nmovss   [rsp+170h+var_148], xmm15                                      ; +0x3fb, 0x1403a932b\nmovss   [rsp+170h+var_150], xmm11                                      ; +0x402, 0x1403a9332\nmovss   xmm3, cs:flt_140622C24                                         ; +0x409, 0x1403a9339\nlea     r8, [rbp+40h+arg_0]                                            ; +0x411, 0x1403a9341\nlea     rdx, [rbp+40h+arg_18]                                          ; +0x415, 0x1403a9345\nmov     rcx, rbx                                                       ; +0x419, 0x1403a9349\ncall    CCLightFlash__playEffect                                       ; +0x41c, 0x1403a934c\nmovzx   ebx, byte ptr [rdi+3249h]                                      ; +0x421, 0x1403a9351\nmov     byte ptr [rdi+3249h], 0                                        ; +0x428, 0x1403a9358\nmovss   xmm7, cs:width                                                 ; +0x42f, 0x1403a935f\naddss   xmm6, xmm7                                                     ; +0x437, 0x1403a9367\nmovaps  xmm8, xmm6                                                     ; +0x43b, 0x1403a936b\nmulss   xmm8, cs:dword_140622A6C                                       ; +0x43f, 0x1403a936f\nmulss   xmm8, xmm12                                                    ; +0x448, 0x1403a9378\ncomiss  xmm11, xmm8                                                    ; +0x44d, 0x1403a937d\njnb     short loc_1403A93B9                                            ; +0x451, 0x1403a9381\nmov     [rdi+530h], r14                                                ; +0x453, 0x1403a9383\nlea     rcx, [rdi+538h]                                                ; +0x45a, 0x1403a938a\nlea     rdx, dword_1406C1D28                                           ; +0x461, 0x1403a9391\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x468, 0x1403a9398\nmovss   dword ptr [rdi+520h], xmm8                                     ; +0x46e, 0x1403a939e\nmov     qword ptr [rdi+524h], 40400000h                                ; +0x477, 0x1403a93a7\nmov     byte ptr [rdi+3248h], 0                                        ; +0x482, 0x1403a93b2\nmov     [rdi+3249h], bl                                                ; +0x489, 0x1403a93b9\njmp     short loc_1403A93CD                                            ; +0x48f, 0x1403a93bf\nmovss   xmm7, cs:width                                                 ; +0x491, 0x1403a93c1\naddss   xmm6, xmm7                                                     ; +0x499, 0x1403a93c9\nmov     rcx, rdi                                                       ; +0x49d, 0x1403a93cd\ntest    sil, sil                                                       ; +0x4a0, 0x1403a93d0\njnz     short loc_1403A9418                                            ; +0x4a3, 0x1403a93d3\nlea     rdx, PlayLayer__showCompleteText                               ; +0x4a5, 0x1403a93d5\ncall    cs:?create@CCCallFunc@cocos2d@@SAPEAV12@PEAVCCObject@2@P832@EAAXXZ@Z; cocos2d::CCCallFunc::create(cocos2d::CCObject *,void (cocos2d::CCObject::*)(void)) ; +0x4ac, 0x1403a93dc\nmov     rbx, rax                                                       ; +0x4b2, 0x1403a93e2\nmulss   xmm6, cs:dword_140622A6C                                       ; +0x4b5, 0x1403a93e5\nmulss   xmm6, xmm12                                                    ; +0x4bd, 0x1403a93ed\nmovaps  xmm0, xmm6                                                     ; +0x4c2, 0x1403a93f2\ncall    cs:?create@CCDelayTime@cocos2d@@SAPEAV12@M@Z; cocos2d::CCDelayTime::create(float) ; +0x4c5, 0x1403a93f5\nmov     rcx, rax                                                       ; +0x4cb, 0x1403a93fb\nxor     r8d, r8d                                                       ; +0x4ce, 0x1403a93fe\nmov     rdx, rbx                                                       ; +0x4d1, 0x1403a9401\ncall    cs:?create@CCSequence@cocos2d@@SAPEAV12@PEAVCCFiniteTimeAction@2@ZZ; cocos2d::CCSequence::create(cocos2d::CCFiniteTimeAction *,...) ; +0x4d4, 0x1403a9404\nmov     rdx, rax                                                       ; +0x4da, 0x1403a940a\nmov     rcx, rdi                                                       ; +0x4dd, 0x1403a940d\ncall    cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x4e0, 0x1403a9410\njmp     short loc_1403A941D                                            ; +0x4e6, 0x1403a9416\ncall    PlayLayer__showCompleteText                                    ; +0x4e8, 0x1403a9418\ncmp     cs:qword_1406C2E88, 0                                          ; +0x4ed, 0x1403a941d\njnz     short loc_1403A944E                                            ; +0x4f5, 0x1403a9425\nmov     ecx, 888h; Size                                                ; +0x4f7, 0x1403a9427\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x4fc, 0x1403a942c\nmov     [rbp+40h+arg_0], rax                                           ; +0x501, 0x1403a9431\nmov     rcx, rax                                                       ; +0x505, 0x1403a9435\ncall    FMODAudioEngine__FMODAudioEngine                               ; +0x508, 0x1403a9438\nnop                                                                    ; +0x50d, 0x1403a943d\nmov     cs:qword_1406C2E88, rax                                        ; +0x50e, 0x1403a943e\nmov     rdx, [rax]                                                     ; +0x515, 0x1403a9445\nmov     rcx, rax                                                       ; +0x518, 0x1403a9448\ncall    qword ptr [rdx+48h]                                            ; +0x51b, 0x1403a944b\nmov     rbx, cs:qword_1406C2E88                                        ; +0x51e, 0x1403a944e\nmov     dword ptr [rbp+40h+arg_0], r14d                                ; +0x525, 0x1403a9455\nlea     rdx, [rbp+40h+arg_0]                                           ; +0x529, 0x1403a9459\nlea     rcx, [rbx+140h]                                                ; +0x52d, 0x1403a945d\ncall    sub_14005F8D0                                                  ; +0x534, 0x1403a9464\ntest    rax, rax                                                       ; +0x539, 0x1403a9469\njz      short loc_1403A94A0                                            ; +0x53c, 0x1403a946c\nlea     r8, [rbp+40h+arg_0]                                            ; +0x53e, 0x1403a946e\nlea     rdx, [rbp+40h+var_C0]                                          ; +0x542, 0x1403a9472\nlea     rcx, [rbx+140h]                                                ; +0x546, 0x1403a9476\ncall    sub_140061560                                                  ; +0x54d, 0x1403a947d\nmov     rdx, [rax]                                                     ; +0x552, 0x1403a9482\nmov     edx, [rdx+18h]                                                 ; +0x555, 0x1403a9485\nmov     rcx, rbx                                                       ; +0x558, 0x1403a9488\ncall    FMODAudioEngine__channelForChannelID                           ; +0x55b, 0x1403a948b\ntest    rax, rax                                                       ; +0x560, 0x1403a9490\njz      short loc_1403A94A0                                            ; +0x563, 0x1403a9493\nxor     edx, edx                                                       ; +0x565, 0x1403a9495\nmov     rcx, rax                                                       ; +0x567, 0x1403a9497\ncall    cs:?setLoopCount@Channel@FMOD@@QEAA?AW4FMOD_RESULT@@H@Z; FMOD::Channel::setLoopCount(int) ; +0x56a, 0x1403a949a\nmov     rax, [rdi+0DB0h]                                               ; +0x570, 0x1403a94a0\ncmp     byte ptr [rax+15Dh], 0                                         ; +0x577, 0x1403a94a7\njnz     short loc_1403A94CB                                            ; +0x57e, 0x1403a94ae\nmov     rax, [rdi+878h]                                                ; +0x580, 0x1403a94b0\nmov     edx, [rax+148h]                                                ; +0x587, 0x1403a94b7\nsub     edx, [rax+14Ch]                                                ; +0x58d, 0x1403a94bd\ncmp     edx, 0BB9h                                                     ; +0x593, 0x1403a94c3\njnz     short loc_1403A950B                                            ; +0x599, 0x1403a94c9\ncmp     cs:qword_1406C2E88, 0                                          ; +0x59b, 0x1403a94cb\njnz     short loc_1403A94FC                                            ; +0x5a3, 0x1403a94d3\nmov     ecx, 888h; Size                                                ; +0x5a5, 0x1403a94d5\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x5aa, 0x1403a94da\nmov     [rbp+40h+arg_8], rax                                           ; +0x5af, 0x1403a94df\nmov     rcx, rax                                                       ; +0x5b3, 0x1403a94e3\ncall    FMODAudioEngine__FMODAudioEngine                               ; +0x5b6, 0x1403a94e6\nnop                                                                    ; +0x5bb, 0x1403a94eb\nmov     cs:qword_1406C2E88, rax                                        ; +0x5bc, 0x1403a94ec\nmov     rdx, [rax]                                                     ; +0x5c3, 0x1403a94f3\nmov     rcx, rax                                                       ; +0x5c6, 0x1403a94f6\ncall    qword ptr [rdx+48h]                                            ; +0x5c9, 0x1403a94f9\nmovaps  xmm1, xmm7                                                     ; +0x5cc, 0x1403a94fc\nmov     rcx, cs:qword_1406C2E88                                        ; +0x5cf, 0x1403a94ff\ncall    FMODAudioEngine__fadeOutMusic                                  ; +0x5d6, 0x1403a9506\nlea     r11, [rsp+170h+var_20]                                         ; +0x5db, 0x1403a950b\nmovaps  xmm6, xmmword ptr [r11-10h]                                    ; +0x5e3, 0x1403a9513\nmovaps  xmm7, xmmword ptr [r11-20h]                                    ; +0x5e8, 0x1403a9518\nmovaps  xmm8, xmmword ptr [r11-30h]                                    ; +0x5ed, 0x1403a951d\nmovaps  xmm9, xmmword ptr [r11-40h]                                    ; +0x5f2, 0x1403a9522\nmovaps  xmm11, xmmword ptr [r11-50h]                                   ; +0x5f7, 0x1403a9527\nmovaps  xmm12, xmmword ptr [r11-60h]                                   ; +0x5fc, 0x1403a952c\nmovaps  xmm14, xmmword ptr [r11-70h]                                   ; +0x601, 0x1403a9531\nmovaps  xmm15, xmmword ptr [r11-80h]                                   ; +0x606, 0x1403a9536\nmov     rsp, r11                                                       ; +0x60b, 0x1403a953b\npop     r14                                                            ; +0x60e, 0x1403a953e\npop     rdi                                                            ; +0x610, 0x1403a9540\npop     rsi                                                            ; +0x611, 0x1403a9541\npop     rbx                                                            ; +0x612, 0x1403a9542\npop     rbp                                                            ; +0x613, 0x1403a9543\nretn                                                                   ; +0x614, 0x1403a9544", "xrefs": ["PlayLayer::levelComplete @ 0x1403a886d", "<???> @ 0x1406d6bf0"], "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"}