{"type": "func", "start": 5372512000, "end": 5372513604, "name": "PlayerObject::togglePlayerScale", "pseudocode": "// \n// PlayerObject::togglePlayerScale from 0x1403a0700 to 0x1403a0d44 (1604 bytes)\n// \n// 10 xrefs:\n// > GJBaseGameLayer::setupLevelStart @ 0x1402122ac\n// > GJBaseGameLayer::setupLevelStart @ 0x1402122cb\n// > GJBaseGameLayer::collisionCheckObjects @ 0x1402155d7\n// > GJBaseGameLayer::collisionCheckObjects @ 0x14021565d\n// > MenuGameLayer::resetPlayer @ 0x14033283a\n// > MenuGameLayer::resetPlayer @ 0x14033324d\n// > PlayerObject::resetObject @ 0x1403973c3\n// > PlayerObject::copyAttributes @ 0x1403a05fe\n// > PlayerObject::loadFromCheckpoint @ 0x1403a2a7f\n// > <???> @ 0x1406d6944\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 PlayerObject::togglePlayerScale(PlayerObject *a1, bool a2, bool a3)\n{\n  float m_vehicleSize; // xmm0_4\n  int m_maybeSavedPlayerFrame; // edx\n  __int64 v7; // rax\n  float v8; // xmm1_4\n  float v9; // xmm0_4\n  bool *p_m_playEffects; // rbx\n  bool *v11; // rcx\n  GhostTrailEffect *m_ghostTrail; // rdx\n  cocos2d::CCMotionStreak *m_shipStreak; // rcx\n  GJActionManager *m_actionManager; // rdi\n  struct cocos2d::CCObject *v15; // rax\n  float v16; // xmm6_4\n  __int64 v17; // rax\n  struct cocos2d::CCScaleTo *v18; // rax\n  struct cocos2d::CCEaseElasticOut *v19; // rbx\n  __int64 v20; // rdi\n  GJBaseGameLayer *v21; // rdi\n  float *v22; // rax\n  float *v23; // rbx\n  __int64 v24; // rcx\n  cocos2d::CCDirector *v25; // rax\n  float v26; // xmm7_4\n  float v27; // xmm6_4\n  float v28; // xmm9_4\n  float v29; // xmm0_4\n  cocos2d::CCPoint v30; // rax\n  cocos2d::CCPoint v31; // rbx\n  cocos2d::CCPoint v32; // rax\n  cocos2d::ccColor3B v33[5]; // [rsp+58h] [rbp-49h] BYREF\n  cocos2d::CCPoint v34; // [rsp+70h] [rbp-31h] BYREF\n  cocos2d::CCPoint v35; // [rsp+78h] [rbp-29h] BYREF\n  cocos2d::CCPoint v36; // [rsp+80h] [rbp-21h] BYREF\n  void *v37; // [rsp+108h] [rbp+67h]\n  void *v38; // [rsp+108h] [rbp+67h]\n  __int16 v39; // [rsp+108h] [rbp+67h]\n  void *v40; // [rsp+120h] [rbp+7Fh]\n\n  m_vehicleSize = a1->m_vehicleSize;\n  if ( m_vehicleSize == 1.0 && !a2 )\n    return;\n  if ( a2 )\n  {\n    if ( m_vehicleSize != 1.0 )\n      return;\n    a1->m_vehicleSize = 0.60000002;\n    if ( !a1->m_defaultMiniIcon )\n      goto LABEL_22;\n    if ( a1->m_isBall )\n    {\n      PlayerObject::updatePlayerRollFrame(a1, 0);\n      goto LABEL_22;\n    }\n    if ( a1->m_isRobot || a1->m_isDart )\n      goto LABEL_22;\n    m_maybeSavedPlayerFrame = 0;\nLABEL_21:\n    PlayerObject::updatePlayerFrame(a1, m_maybeSavedPlayerFrame);\n    goto LABEL_22;\n  }\n  if ( a1->m_isPlatformer )\n    a1->m_stateScale = 2;\n  a1->m_vehicleSize = 1.0;\n  if ( !a1->m_defaultMiniIcon )\n    goto LABEL_22;\n  if ( a1->m_isBall )\n  {\n    v7 = qword_1406C2ED8;\n    if ( !qword_1406C2ED8 )\n    {\n      v37 = operator new(0x668u);\n      qword_1406C2ED8 = sub_14017AB00((__int64)v37);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n      v7 = qword_1406C2ED8;\n    }\n    PlayerObject::updatePlayerRollFrame(a1, *(_DWORD *)(v7 + 732) - *(_DWORD *)(v7 + 736));\n    goto LABEL_22;\n  }\n  if ( !a1->m_isRobot && !a1->m_isDart )\n  {\n    m_maybeSavedPlayerFrame = a1->m_maybeSavedPlayerFrame;\n    goto LABEL_21;\n  }\nLABEL_22:\n  v8 = a1->m_vehicleSize;\n  a1->m_spriteWidthScale = v8;\n  a1->m_spriteHeightScale = v8;\n  cocos2d::CCParticleSystem::loadScaledDefaults(a1->m_landParticles0, v8);\n  cocos2d::CCParticleSystem::loadScaledDefaults(a1->m_landParticles1, a1->m_vehicleSize);\n  cocos2d::CCParticleSystem::loadScaledDefaults(a1->m_playerGroundParticles, a1->m_vehicleSize);\n  cocos2d::CCParticleSystem::loadScaledDefaults(a1->m_vehicleGroundParticles, a1->m_vehicleSize);\n  cocos2d::CCParticleSystem::loadScaledDefaults(a1->m_trailingParticles, a1->m_vehicleSize);\n  cocos2d::CCParticleSystem::loadScaledDefaults(a1->m_shipClickParticles, a1->m_vehicleSize);\n  cocos2d::CCParticleSystem::loadScaledDefaults(a1->m_ufoClickParticles, a1->m_vehicleSize);\n  cocos2d::CCParticleSystem::loadScaledDefaults(a1->m_robotBurstParticles, a1->m_vehicleSize);\n  cocos2d::CCParticleSystem::loadScaledDefaults(a1->m_dashParticles, a1->m_vehicleSize);\n  cocos2d::CCParticleSystem::loadScaledDefaults(a1->m_swingBurstParticles1, a1->m_vehicleSize);\n  cocos2d::CCParticleSystem::loadScaledDefaults(a1->m_swingBurstParticles2, a1->m_vehicleSize);\n  v9 = 1.0;\n  if ( a1->m_isDart )\n    v9 = 0.80000001;\n  cocos2d::CCMotionStreak::setStroke(a1->m_regularTrail, (float)(a1->m_streakStrokeWidth * a1->m_vehicleSize) * v9);\n  p_m_playEffects = &a1->m_playEffects;\n  if ( a1->m_playEffects || (v11 = &a1->m_playEffects, a1->m_isDart) )\n  {\n    a1->m_waveTrail->m_waveSize = a1->m_vehicleSize;\n    v11 = &a1->m_playEffects;\n  }\n  m_ghostTrail = a1->m_ghostTrail;\n  if ( m_ghostTrail )\n  {\n    m_ghostTrail->m_playerScale = a1->m_vehicleSize;\n    p_m_playEffects = v11;\n  }\n  m_shipStreak = a1->m_shipStreak;\n  if ( m_shipStreak )\n    sub_1403862B0(m_shipStreak, a1->m_shipStreakType, (__int64)a1);\n  m_actionManager = a1->m_actionManager;\n  v15 = cocos2d::CCDictionary::objectForKey(m_actionManager->m_internalActions, 6);\n  if ( v15 )\n  {\n    ((void (__fastcall *)(struct cocos2d::CCObject *))v15->__vftable[1].isEqual)(v15);\n    cocos2d::CCDictionary::removeObjectForKey(m_actionManager->m_internalActions, 6);\n    p_m_playEffects = &a1->m_playEffects;\n  }\n  v16 = a1->m_vehicleSize;\n  if ( !*p_m_playEffects || a1->m_maybeReducedEffects )\n    goto LABEL_44;\n  v17 = qword_1406C2ED8;\n  if ( !qword_1406C2ED8 )\n  {\n    v38 = operator new(0x668u);\n    qword_1406C2ED8 = sub_14017AB00((__int64)v38);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n    v17 = qword_1406C2ED8;\n  }\n  if ( *(_BYTE *)(*(_QWORD *)(v17 + 520) + 12837LL) )\n  {\nLABEL_44:\n    ((void (__fastcall *)(PlayerObject *))a1->setScaleX)(a1);\n    ((void (__fastcall *)(PlayerObject *))a1->setScaleY)(a1);\n  }\n  else\n  {\n    v18 = cocos2d::CCScaleTo::create(0.5, v16, v16);\n    v19 = cocos2d::CCEaseElasticOut::create(v18);\n    v19->setTag(v19, 6);\n    cocos2d::CCDictionary::setObject(\n      a1->m_actionManager->m_internalActions,\n      v19,\n      v19->cocos2d::CCEaseElastic::cocos2d::CCActionEase::cocos2d::CCActionInterval::cocos2d::CCFiniteTimeAction::cocos2d::CCAction::m_nTag);\n    v19->startWithTarget(v19, a1);\n    v39 = -256;\n    if ( a1->m_vehicleSize != 1.0 )\n      v39 = 255;\n    if ( !a3 )\n    {\n      v20 = qword_1406C2ED8;\n      if ( !qword_1406C2ED8 )\n      {\n        v40 = operator new(0x668u);\n        qword_1406C2ED8 = sub_14017AB00((__int64)v40);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n        v20 = qword_1406C2ED8;\n      }\n      v21 = *(GJBaseGameLayer **)(v20 + 520);\n      cocos2d::CCPoint::CCPoint(&v34);\n      v23 = v22;\n      v25 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v24);\n      cocos2d::CCDirector::getWinSize(v25);\n      v26 = *v23 - 50.0;\n      v27 = *v23 + 100.0;\n      v28 = (float)((float)((float)rand() / 32767.0) * (float)(v27 - v26)) + v26;\n      v29 = v21->m_objectLayer->getScale(v21->m_objectLayer);\n      cocos2d::CCPoint::CCPoint(v29, v28);\n      *(_WORD *)&v33[0].r = v39;\n      v33[0].b = -106;\n      cocos2d::CCPoint::CCPoint(&v35);\n      v31 = v30;\n      cocos2d::CCPoint::CCPoint(&v36);\n      GJBaseGameLayer::lightningFlash(v21, v32, v31, v33, 5.0, 0.5, 0, 1, 1.0);\n      *(_WORD *)&v33[0].r = v39;\n      v33[0].b = -106;\n      PlayerObject::spawnPortalCircle(a1, v33, 45.0);\n      PlayerObject::spawnScaleCircle(a1);\n    }\n  }\n  if ( a1->m_isBall && a1->m_isRotating && !a1->m_isLocked && !a1->m_isDashing )\n  {\n    *(_WORD *)&a1->m_isRotating = 0;\n    a1->m_isBallRotating = 0;\n    a1->m_rotationSpeed = 0.0;\n    PlayerObject::runBallRotation(a1, 1.0);\n  }\n  PlayerObject::placeStreakPoint(a1);\n  PlayerObject::updateRobotAnimationSpeed(a1);\n}", "assembly": "; \n; PlayerObject::togglePlayerScale from 0x1403a0700 to 0x1403a0d44 (1604 bytes)\n; \n; 10 xrefs:\n; > GJBaseGameLayer::setupLevelStart @ 0x1402122ac\n; > GJBaseGameLayer::setupLevelStart @ 0x1402122cb\n; > GJBaseGameLayer::collisionCheckObjects @ 0x1402155d7\n; > GJBaseGameLayer::collisionCheckObjects @ 0x14021565d\n; > MenuGameLayer::resetPlayer @ 0x14033283a\n; > MenuGameLayer::resetPlayer @ 0x14033324d\n; > PlayerObject::resetObject @ 0x1403973c3\n; > PlayerObject::copyAttributes @ 0x1403a05fe\n; > PlayerObject::loadFromCheckpoint @ 0x1403a2a7f\n; > <???> @ 0x1406d6944\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, 0x1403a0700\nmov     [rax+10h], rbx                                                 ; +0x3, 0x1403a0703\npush    rbp                                                            ; +0x7, 0x1403a0707\npush    rsi                                                            ; +0x8, 0x1403a0708\npush    rdi                                                            ; +0x9, 0x1403a0709\npush    r14                                                            ; +0xa, 0x1403a070a\npush    r15                                                            ; +0xc, 0x1403a070c\nlea     rbp, [rax-5Fh]                                                 ; +0xe, 0x1403a070e\nsub     rsp, 0D0h                                                      ; +0x12, 0x1403a0712\nmovaps  xmmword ptr [rax-38h], xmm6                                    ; +0x19, 0x1403a0719\nmovaps  xmmword ptr [rax-48h], xmm7                                    ; +0x1d, 0x1403a071d\nmovaps  xmmword ptr [rax-58h], xmm9                                    ; +0x21, 0x1403a0721\nmovaps  xmmword ptr [rax-68h], xmm10                                   ; +0x26, 0x1403a0726\nmovaps  xmmword ptr [rax-78h], xmm11                                   ; +0x2b, 0x1403a072b\nmovzx   r15d, r8b                                                      ; +0x30, 0x1403a0730\nmov     rsi, rcx                                                       ; +0x34, 0x1403a0734\nmovss   xmm0, dword ptr [rcx+9F0h]                                     ; +0x37, 0x1403a0737\nmovss   xmm10, cs:flt_140622C24                                        ; +0x3f, 0x1403a073f\nucomiss xmm0, xmm10                                                    ; +0x48, 0x1403a0748\njp      short loc_1403A0758                                            ; +0x4c, 0x1403a074c\njnz     short loc_1403A0758                                            ; +0x4e, 0x1403a074e\ntest    dl, dl                                                         ; +0x50, 0x1403a0750\njz      loc_1403A0D14                                                  ; +0x52, 0x1403a0752\ntest    dl, dl                                                         ; +0x58, 0x1403a0758\njz      short loc_1403A07B9                                            ; +0x5a, 0x1403a075a\nucomiss xmm0, xmm10                                                    ; +0x5c, 0x1403a075c\njp      loc_1403A0D14                                                  ; +0x60, 0x1403a0760\njnz     loc_1403A0D14                                                  ; +0x66, 0x1403a0766\nmov     dword ptr [rcx+9F0h], 3F19999Ah                                ; +0x6c, 0x1403a076c\ncmp     byte ptr [rcx+0AB8h], 0                                        ; +0x76, 0x1403a0776\njz      loc_1403A0855                                                  ; +0x7d, 0x1403a077d\ncmp     byte ptr [rcx+9BBh], 0                                         ; +0x83, 0x1403a0783\njz      short loc_1403A0798                                            ; +0x8a, 0x1403a078a\nxor     edx, edx                                                       ; +0x8c, 0x1403a078c\ncall    PlayerObject__updatePlayerRollFrame                            ; +0x8e, 0x1403a078e\njmp     loc_1403A0855                                                  ; +0x93, 0x1403a0793\ncmp     byte ptr [rcx+9BDh], 0                                         ; +0x98, 0x1403a0798\njnz     loc_1403A0855                                                  ; +0x9f, 0x1403a079f\ncmp     byte ptr [rcx+9BCh], 0                                         ; +0xa5, 0x1403a07a5\njnz     loc_1403A0855                                                  ; +0xac, 0x1403a07ac\nxor     edx, edx                                                       ; +0xb2, 0x1403a07b2\njmp     loc_1403A0850                                                  ; +0xb4, 0x1403a07b4\ncmp     byte ptr [rcx+0B70h], 0                                        ; +0xb9, 0x1403a07b9\njz      short loc_1403A07CC                                            ; +0xc0, 0x1403a07c0\nmov     dword ptr [rcx+0AF0h], 2                                       ; +0xc2, 0x1403a07c2\nmov     dword ptr [rcx+9F0h], 3F800000h                                ; +0xcc, 0x1403a07cc\ncmp     byte ptr [rcx+0AB8h], 0                                        ; +0xd6, 0x1403a07d6\njz      short loc_1403A0855                                            ; +0xdd, 0x1403a07dd\ncmp     byte ptr [rcx+9BBh], 0                                         ; +0xdf, 0x1403a07df\njz      short loc_1403A0838                                            ; +0xe6, 0x1403a07e6\nmov     rax, cs:qword_1406C2ED8                                        ; +0xe8, 0x1403a07e8\ntest    rax, rax                                                       ; +0xef, 0x1403a07ef\njnz     short loc_1403A0822                                            ; +0xf2, 0x1403a07f2\nmov     ecx, 668h; Size                                                ; +0xf4, 0x1403a07f4\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xf9, 0x1403a07f9\nmov     [rbp+57h+arg_0], rax                                           ; +0xfe, 0x1403a07fe\nmov     rcx, rax                                                       ; +0x102, 0x1403a0802\ncall    sub_14017AB00                                                  ; +0x105, 0x1403a0805\nnop                                                                    ; +0x10a, 0x1403a080a\nmov     cs:qword_1406C2ED8, rax                                        ; +0x10b, 0x1403a080b\nmov     rdx, [rax]                                                     ; +0x112, 0x1403a0812\nmov     rcx, rax                                                       ; +0x115, 0x1403a0815\ncall    qword ptr [rdx+48h]                                            ; +0x118, 0x1403a0818\nmov     rax, cs:qword_1406C2ED8                                        ; +0x11b, 0x1403a081b\nmov     edx, [rax+2DCh]                                                ; +0x122, 0x1403a0822\nsub     edx, [rax+2E0h]                                                ; +0x128, 0x1403a0828\nmov     rcx, rsi                                                       ; +0x12e, 0x1403a082e\ncall    PlayerObject__updatePlayerRollFrame                            ; +0x131, 0x1403a0831\njmp     short loc_1403A0855                                            ; +0x136, 0x1403a0836\ncmp     byte ptr [rcx+9BDh], 0                                         ; +0x138, 0x1403a0838\njnz     short loc_1403A0855                                            ; +0x13f, 0x1403a083f\ncmp     byte ptr [rcx+9BCh], 0                                         ; +0x141, 0x1403a0841\njnz     short loc_1403A0855                                            ; +0x148, 0x1403a0848\nmov     edx, [rcx+620h]                                                ; +0x14a, 0x1403a084a\ncall    PlayerObject__updatePlayerFrame                                ; +0x150, 0x1403a0850\nmovss   xmm1, dword ptr [rsi+9F0h]                                     ; +0x155, 0x1403a0855\nmovss   dword ptr [rsi+394h], xmm1                                     ; +0x15d, 0x1403a085d\nmovss   dword ptr [rsi+398h], xmm1                                     ; +0x165, 0x1403a0865\nmov     rcx, [rsi+908h]                                                ; +0x16d, 0x1403a086d\ncall    cs:?loadScaledDefaults@CCParticleSystem@cocos2d@@QEAAXM@Z; cocos2d::CCParticleSystem::loadScaledDefaults(float) ; +0x174, 0x1403a0874\nmovss   xmm1, dword ptr [rsi+9F0h]                                     ; +0x17a, 0x1403a087a\nmov     rcx, [rsi+910h]                                                ; +0x182, 0x1403a0882\ncall    cs:?loadScaledDefaults@CCParticleSystem@cocos2d@@QEAAXM@Z; cocos2d::CCParticleSystem::loadScaledDefaults(float) ; +0x189, 0x1403a0889\nmovss   xmm1, dword ptr [rsi+9F0h]                                     ; +0x18f, 0x1403a088f\nmov     rcx, [rsi+8B8h]                                                ; +0x197, 0x1403a0897\ncall    cs:?loadScaledDefaults@CCParticleSystem@cocos2d@@QEAAXM@Z; cocos2d::CCParticleSystem::loadScaledDefaults(float) ; +0x19e, 0x1403a089e\nmovss   xmm1, dword ptr [rsi+9F0h]                                     ; +0x1a4, 0x1403a08a4\nmov     rcx, [rsi+8D0h]                                                ; +0x1ac, 0x1403a08ac\ncall    cs:?loadScaledDefaults@CCParticleSystem@cocos2d@@QEAAXM@Z; cocos2d::CCParticleSystem::loadScaledDefaults(float) ; +0x1b3, 0x1403a08b3\nmovss   xmm1, dword ptr [rsi+9F0h]                                     ; +0x1b9, 0x1403a08b9\nmov     rcx, [rsi+8C0h]                                                ; +0x1c1, 0x1403a08c1\ncall    cs:?loadScaledDefaults@CCParticleSystem@cocos2d@@QEAAXM@Z; cocos2d::CCParticleSystem::loadScaledDefaults(float) ; +0x1c8, 0x1403a08c8\nmovss   xmm1, dword ptr [rsi+9F0h]                                     ; +0x1ce, 0x1403a08ce\nmov     rcx, [rsi+8C8h]                                                ; +0x1d6, 0x1403a08d6\ncall    cs:?loadScaledDefaults@CCParticleSystem@cocos2d@@QEAAXM@Z; cocos2d::CCParticleSystem::loadScaledDefaults(float) ; +0x1dd, 0x1403a08dd\nmovss   xmm1, dword ptr [rsi+9F0h]                                     ; +0x1e3, 0x1403a08e3\nmov     rcx, [rsi+8D8h]                                                ; +0x1eb, 0x1403a08eb\ncall    cs:?loadScaledDefaults@CCParticleSystem@cocos2d@@QEAAXM@Z; cocos2d::CCParticleSystem::loadScaledDefaults(float) ; +0x1f2, 0x1403a08f2\nmovss   xmm1, dword ptr [rsi+9F0h]                                     ; +0x1f8, 0x1403a08f8\nmov     rcx, [rsi+8E0h]                                                ; +0x200, 0x1403a0900\ncall    cs:?loadScaledDefaults@CCParticleSystem@cocos2d@@QEAAXM@Z; cocos2d::CCParticleSystem::loadScaledDefaults(float) ; +0x207, 0x1403a0907\nmovss   xmm1, dword ptr [rsi+9F0h]                                     ; +0x20d, 0x1403a090d\nmov     rcx, [rsi+8E8h]                                                ; +0x215, 0x1403a0915\ncall    cs:?loadScaledDefaults@CCParticleSystem@cocos2d@@QEAAXM@Z; cocos2d::CCParticleSystem::loadScaledDefaults(float) ; +0x21c, 0x1403a091c\nmovss   xmm1, dword ptr [rsi+9F0h]                                     ; +0x222, 0x1403a0922\nmov     rcx, [rsi+8F0h]                                                ; +0x22a, 0x1403a092a\ncall    cs:?loadScaledDefaults@CCParticleSystem@cocos2d@@QEAAXM@Z; cocos2d::CCParticleSystem::loadScaledDefaults(float) ; +0x231, 0x1403a0931\nmovss   xmm1, dword ptr [rsi+9F0h]                                     ; +0x237, 0x1403a0937\nmov     rcx, [rsi+8F8h]                                                ; +0x23f, 0x1403a093f\ncall    cs:?loadScaledDefaults@CCParticleSystem@cocos2d@@QEAAXM@Z; cocos2d::CCParticleSystem::loadScaledDefaults(float) ; +0x246, 0x1403a0946\nmovaps  xmm0, xmm10                                                    ; +0x24c, 0x1403a094c\ncmp     byte ptr [rsi+9BCh], 0                                         ; +0x250, 0x1403a0950\njz      short loc_1403A0961                                            ; +0x257, 0x1403a0957\nmovss   xmm0, cs:dword_140622BA4                                       ; +0x259, 0x1403a0959\nmovss   xmm1, dword ptr [rsi+924h]                                     ; +0x261, 0x1403a0961\nmulss   xmm1, dword ptr [rsi+9F0h]                                     ; +0x269, 0x1403a0969\nmulss   xmm1, xmm0                                                     ; +0x271, 0x1403a0971\nmov     rcx, [rsi+7A0h]                                                ; +0x275, 0x1403a0975\ncall    cs:?setStroke@CCMotionStreak@cocos2d@@QEAAXM@Z; cocos2d::CCMotionStreak::setStroke(float) ; +0x27c, 0x1403a097c\nlea     rbx, [rsi+7E4h]                                                ; +0x282, 0x1403a0982\ncmp     byte ptr [rbx], 0                                              ; +0x289, 0x1403a0989\njnz     short loc_1403A099A                                            ; +0x28c, 0x1403a098c\nmov     rcx, rbx                                                       ; +0x28e, 0x1403a098e\ncmp     byte ptr [rsi+9BCh], 0                                         ; +0x291, 0x1403a0991\njz      short loc_1403A09B4                                            ; +0x298, 0x1403a0998\nmov     rcx, [rsi+7B0h]                                                ; +0x29a, 0x1403a099a\nmov     eax, [rsi+9F0h]                                                ; +0x2a1, 0x1403a09a1\nmov     [rcx+1B0h], eax                                                ; +0x2a7, 0x1403a09a7\nlea     rcx, [rsi+7E4h]                                                ; +0x2ad, 0x1403a09ad\nmov     rdx, [rsi+730h]                                                ; +0x2b4, 0x1403a09b4\ntest    rdx, rdx                                                       ; +0x2bb, 0x1403a09bb\njz      short loc_1403A09CF                                            ; +0x2be, 0x1403a09be\nmov     eax, [rsi+9F0h]                                                ; +0x2c0, 0x1403a09c0\nmov     [rdx+150h], eax                                                ; +0x2c6, 0x1403a09c6\nmov     rbx, rcx                                                       ; +0x2cc, 0x1403a09cc\nmov     rcx, [rsi+7A8h]                                                ; +0x2cf, 0x1403a09cf\ntest    rcx, rcx                                                       ; +0x2d6, 0x1403a09d6\njz      short loc_1403A09E9                                            ; +0x2d9, 0x1403a09d9\nmov     r8, rsi                                                        ; +0x2db, 0x1403a09db\nmov     edx, [rsi+92Ch]                                                ; +0x2de, 0x1403a09de\ncall    sub_1403862B0                                                  ; +0x2e4, 0x1403a09e4\nmov     rdi, [rsi+0C30h]                                               ; +0x2e9, 0x1403a09e9\nmov     edx, 6                                                         ; +0x2f0, 0x1403a09f0\nmov     rcx, [rdi+140h]                                                ; +0x2f5, 0x1403a09f5\ncall    cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0x2fc, 0x1403a09fc\ntest    rax, rax                                                       ; +0x302, 0x1403a0a02\njz      short loc_1403A0A29                                            ; +0x305, 0x1403a0a05\nmov     rdx, [rax]                                                     ; +0x307, 0x1403a0a07\nmov     rcx, rax                                                       ; +0x30a, 0x1403a0a0a\ncall    qword ptr [rdx+58h]                                            ; +0x30d, 0x1403a0a0d\nmov     edx, 6                                                         ; +0x310, 0x1403a0a10\nmov     rcx, [rdi+140h]                                                ; +0x315, 0x1403a0a15\ncall    cs:?removeObjectForKey@CCDictionary@cocos2d@@QEAAX_J@Z; cocos2d::CCDictionary::removeObjectForKey(__int64) ; +0x31c, 0x1403a0a1c\nlea     rbx, [rsi+7E4h]                                                ; +0x322, 0x1403a0a22\nmovss   xmm6, dword ptr [rsi+9F0h]                                     ; +0x329, 0x1403a0a29\ncmp     byte ptr [rbx], 0                                              ; +0x331, 0x1403a0a31\njz      loc_1403A0C9F                                                  ; +0x334, 0x1403a0a34\ncmp     byte ptr [rsi+7E1h], 0                                         ; +0x33a, 0x1403a0a3a\njnz     loc_1403A0C9F                                                  ; +0x341, 0x1403a0a41\nmov     rax, cs:qword_1406C2ED8                                        ; +0x347, 0x1403a0a47\ntest    rax, rax                                                       ; +0x34e, 0x1403a0a4e\njnz     short loc_1403A0A81                                            ; +0x351, 0x1403a0a51\nmov     ecx, 668h; Size                                                ; +0x353, 0x1403a0a53\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x358, 0x1403a0a58\nmov     [rbp+57h+arg_0], rax                                           ; +0x35d, 0x1403a0a5d\nmov     rcx, rax                                                       ; +0x361, 0x1403a0a61\ncall    sub_14017AB00                                                  ; +0x364, 0x1403a0a64\nnop                                                                    ; +0x369, 0x1403a0a69\nmov     cs:qword_1406C2ED8, rax                                        ; +0x36a, 0x1403a0a6a\nmov     rdx, [rax]                                                     ; +0x371, 0x1403a0a71\nmov     rcx, rax                                                       ; +0x374, 0x1403a0a74\ncall    qword ptr [rdx+48h]                                            ; +0x377, 0x1403a0a77\nmov     rax, cs:qword_1406C2ED8                                        ; +0x37a, 0x1403a0a7a\nmov     rax, [rax+208h]                                                ; +0x381, 0x1403a0a81\ncmp     byte ptr [rax+3225h], 0                                        ; +0x388, 0x1403a0a88\njnz     loc_1403A0C9F                                                  ; +0x38f, 0x1403a0a8f\nmovaps  xmm2, xmm6                                                     ; +0x395, 0x1403a0a95\nmovaps  xmm1, xmm6                                                     ; +0x398, 0x1403a0a98\nmovss   xmm11, cs:dword_140622B08                                      ; +0x39b, 0x1403a0a9b\nmovaps  xmm0, xmm11                                                    ; +0x3a4, 0x1403a0aa4\ncall    cs:?create@CCScaleTo@cocos2d@@SAPEAV12@MMM@Z; cocos2d::CCScaleTo::create(float,float,float) ; +0x3a8, 0x1403a0aa8\nmov     rcx, rax                                                       ; +0x3ae, 0x1403a0aae\ncall    cs:?create@CCEaseElasticOut@cocos2d@@SAPEAV12@PEAVCCActionInterval@2@@Z; cocos2d::CCEaseElasticOut::create(cocos2d::CCActionInterval *) ; +0x3b1, 0x1403a0ab1\nmov     rbx, rax                                                       ; +0x3b7, 0x1403a0ab7\nmov     r8, [rax]                                                      ; +0x3ba, 0x1403a0aba\nmov     edx, 6                                                         ; +0x3bd, 0x1403a0abd\nmov     rcx, rax                                                       ; +0x3c2, 0x1403a0ac2\ncall    qword ptr [r8+40h]                                             ; +0x3c5, 0x1403a0ac5\nmov     rcx, [rsi+0C30h]                                               ; +0x3c9, 0x1403a0ac9\nmovsxd  r8, dword ptr [rbx+48h]                                        ; +0x3d0, 0x1403a0ad0\nmov     rdx, rbx                                                       ; +0x3d4, 0x1403a0ad4\nmov     rcx, [rcx+140h]                                                ; +0x3d7, 0x1403a0ad7\ncall    cs:?setObject@CCDictionary@cocos2d@@QEAAXPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,__int64) ; +0x3de, 0x1403a0ade\nmov     r8, [rbx]                                                      ; +0x3e4, 0x1403a0ae4\nmov     rdx, rsi                                                       ; +0x3e7, 0x1403a0ae7\nmov     rcx, rbx                                                       ; +0x3ea, 0x1403a0aea\ncall    qword ptr [r8+50h]                                             ; +0x3ed, 0x1403a0aed\nmovss   xmm0, dword ptr [rsi+9F0h]                                     ; +0x3f1, 0x1403a0af1\nucomiss xmm0, xmm10                                                    ; +0x3f9, 0x1403a0af9\njp      short loc_1403A0B07                                            ; +0x3fd, 0x1403a0afd\nmov     word ptr [rbp+57h+arg_0], 0FF00h                               ; +0x3ff, 0x1403a0aff\njz      short loc_1403A0B0D                                            ; +0x405, 0x1403a0b05\nmov     word ptr [rbp+57h+arg_0], 0FFh                                 ; +0x407, 0x1403a0b07\nmovzx   eax, word ptr [rbp+57h+arg_0]                                  ; +0x40d, 0x1403a0b0d\nlea     r14, [rbp+57h+arg_0]                                           ; +0x411, 0x1403a0b11\nmov     byte ptr [rbp+57h+arg_0+2], 96h                                ; +0x415, 0x1403a0b15\nmov     word ptr [rbp+57h+arg_0], ax                                   ; +0x419, 0x1403a0b19\ntest    r15b, r15b                                                     ; +0x41d, 0x1403a0b1d\njnz     loc_1403A0CBA                                                  ; +0x420, 0x1403a0b20\nmov     rdi, cs:qword_1406C2ED8                                        ; +0x426, 0x1403a0b26\ntest    rdi, rdi                                                       ; +0x42d, 0x1403a0b2d\njnz     short loc_1403A0B60                                            ; +0x430, 0x1403a0b30\nmov     ecx, 668h; Size                                                ; +0x432, 0x1403a0b32\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x437, 0x1403a0b37\nmov     [rbp+57h+arg_18], rax                                          ; +0x43c, 0x1403a0b3c\nmov     rcx, rax                                                       ; +0x440, 0x1403a0b40\ncall    sub_14017AB00                                                  ; +0x443, 0x1403a0b43\nnop                                                                    ; +0x448, 0x1403a0b48\nmov     cs:qword_1406C2ED8, rax                                        ; +0x449, 0x1403a0b49\nmov     rdx, [rax]                                                     ; +0x450, 0x1403a0b50\nmov     rcx, rax                                                       ; +0x453, 0x1403a0b53\ncall    qword ptr [rdx+48h]                                            ; +0x456, 0x1403a0b56\nmov     rdi, cs:qword_1406C2ED8                                        ; +0x459, 0x1403a0b59\nmov     rdi, [rdi+208h]                                                ; +0x460, 0x1403a0b60\nlea     rdx, [rsi+0A00h]                                               ; +0x467, 0x1403a0b67\nlea     rcx, [rbp+57h+var_88]                                          ; +0x46e, 0x1403a0b6e\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x472, 0x1403a0b72\nmov     rbx, rax                                                       ; +0x478, 0x1403a0b78\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x47b, 0x1403a0b7b\nmov     rcx, rax                                                       ; +0x481, 0x1403a0b81\nlea     rdx, [rbp+57h+arg_18]                                          ; +0x484, 0x1403a0b84\ncall    cs:?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x488, 0x1403a0b88\nmovss   xmm6, dword ptr [rbx]                                          ; +0x48e, 0x1403a0b8e\nmovaps  xmm7, xmm6                                                     ; +0x492, 0x1403a0b92\nsubss   xmm7, cs:dword_1406231E0                                       ; +0x495, 0x1403a0b95\naddss   xmm6, cs:dword_1406232BC                                       ; +0x49d, 0x1403a0b9d\ncall    cs:rand                                                        ; +0x4a5, 0x1403a0ba5\nmovd    xmm9, eax                                                      ; +0x4ab, 0x1403a0bab\ncvtdq2ps xmm9, xmm9                                                    ; +0x4b0, 0x1403a0bb0\ndivss   xmm9, cs:dword_140623644                                       ; +0x4b4, 0x1403a0bb4\nsubss   xmm6, xmm7                                                     ; +0x4bd, 0x1403a0bbd\nmulss   xmm9, xmm6                                                     ; +0x4c1, 0x1403a0bc1\naddss   xmm9, xmm7                                                     ; +0x4c6, 0x1403a0bc6\nmovss   xmm6, dword ptr [rbp+57h+arg_18+4]                             ; +0x4cb, 0x1403a0bcb\naddss   xmm6, cs:dword_1406231E0                                       ; +0x4d3, 0x1403a0bd3\nmov     rcx, [rdi+0FE8h]                                               ; +0x4db, 0x1403a0bdb\nmov     rax, [rcx]                                                     ; +0x4e2, 0x1403a0be2\ncall    qword ptr [rax+0A8h]                                           ; +0x4e5, 0x1403a0be5\ndivss   xmm6, xmm0                                                     ; +0x4eb, 0x1403a0beb\naddss   xmm6, dword ptr [rdi+414h]                                     ; +0x4ef, 0x1403a0bef\nmovaps  xmm2, xmm6                                                     ; +0x4f7, 0x1403a0bf7\nmovaps  xmm1, xmm9                                                     ; +0x4fa, 0x1403a0bfa\nlea     rcx, [rbp+57h+var_90]                                          ; +0x4fe, 0x1403a0bfe\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x502, 0x1403a0c02\nmovzx   eax, word ptr [r14]                                            ; +0x508, 0x1403a0c08\nmov     [rbp+57h+var_A0], ax                                           ; +0x50c, 0x1403a0c0c\nmovzx   eax, byte ptr [r14+2]                                          ; +0x510, 0x1403a0c10\nmov     [rbp+57h+var_9E], al                                           ; +0x515, 0x1403a0c15\nmov     rdx, rbx                                                       ; +0x518, 0x1403a0c18\nlea     rcx, [rbp+57h+var_80]                                          ; +0x51b, 0x1403a0c1b\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x51f, 0x1403a0c1f\nmov     rbx, rax                                                       ; +0x525, 0x1403a0c25\nlea     rdx, [rbp+57h+var_90]                                          ; +0x528, 0x1403a0c28\nlea     rcx, [rbp+57h+var_78]                                          ; +0x52c, 0x1403a0c2c\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x530, 0x1403a0c30\nmov     rdx, rax                                                       ; +0x536, 0x1403a0c36\nmovss   [rsp+0F0h+var_B0], xmm10                                       ; +0x539, 0x1403a0c39\nmov     byte ptr [rsp+0F0h+var_B8], 1                                  ; +0x540, 0x1403a0c40\nmov     dword ptr [rsp+0F0h+var_C0], 0                                 ; +0x545, 0x1403a0c45\nmovss   [rsp+0F0h+var_C8], xmm11                                       ; +0x54d, 0x1403a0c4d\nmovss   xmm0, cs:flt_140623010                                         ; +0x554, 0x1403a0c54\nmovss   [rsp+0F0h+var_D0], xmm0                                        ; +0x55c, 0x1403a0c5c\nlea     r9, [rbp+57h+var_A0]                                           ; +0x562, 0x1403a0c62\nmov     r8, rbx                                                        ; +0x566, 0x1403a0c66\nmov     rcx, rdi                                                       ; +0x569, 0x1403a0c69\ncall    GJBaseGameLayer__lightningFlash                                ; +0x56c, 0x1403a0c6c\nmovzx   eax, word ptr [r14]                                            ; +0x571, 0x1403a0c71\nmov     [rbp+57h+var_A0], ax                                           ; +0x575, 0x1403a0c75\nmovzx   eax, byte ptr [r14+2]                                          ; +0x579, 0x1403a0c79\nmov     [rbp+57h+var_9E], al                                           ; +0x57e, 0x1403a0c7e\nmovss   xmm2, cs:dword_1406231D0                                       ; +0x581, 0x1403a0c81\nlea     rdx, [rbp+57h+var_A0]                                          ; +0x589, 0x1403a0c89\nmov     rcx, rsi                                                       ; +0x58d, 0x1403a0c8d\ncall    PlayerObject__spawnPortalCircle                                ; +0x590, 0x1403a0c90\nmov     rcx, rsi                                                       ; +0x595, 0x1403a0c95\ncall    PlayerObject__spawnScaleCircle                                 ; +0x598, 0x1403a0c98\njmp     short loc_1403A0CBA                                            ; +0x59d, 0x1403a0c9d\nmov     rax, [rsi]                                                     ; +0x59f, 0x1403a0c9f\nmovaps  xmm1, xmm6                                                     ; +0x5a2, 0x1403a0ca2\nmov     rcx, rsi                                                       ; +0x5a5, 0x1403a0ca5\ncall    qword ptr [rax+78h]                                            ; +0x5a8, 0x1403a0ca8\nmov     rax, [rsi]                                                     ; +0x5ab, 0x1403a0cab\nmovaps  xmm1, xmm6                                                     ; +0x5ae, 0x1403a0cae\nmov     rcx, rsi                                                       ; +0x5b1, 0x1403a0cb1\ncall    qword ptr [rax+88h]                                            ; +0x5b4, 0x1403a0cb4\ncmp     byte ptr [rsi+9BBh], 0                                         ; +0x5ba, 0x1403a0cba\njz      short loc_1403A0D04                                            ; +0x5c1, 0x1403a0cc1\ncmp     byte ptr [rsi+728h], 0                                         ; +0x5c3, 0x1403a0cc3\njz      short loc_1403A0D04                                            ; +0x5ca, 0x1403a0cca\ncmp     byte ptr [rsi+0A2Ah], 0                                        ; +0x5cc, 0x1403a0ccc\njnz     short loc_1403A0D04                                            ; +0x5d3, 0x1403a0cd3\ncmp     byte ptr [rsi+9E4h], 0                                         ; +0x5d5, 0x1403a0cd5\njnz     short loc_1403A0D04                                            ; +0x5dc, 0x1403a0cdc\nmov     word ptr [rsi+728h], 0                                         ; +0x5de, 0x1403a0cde\nmov     byte ptr [rsi+668h], 0                                         ; +0x5e7, 0x1403a0ce7\nmov     dword ptr [rsi+720h], 0                                        ; +0x5ee, 0x1403a0cee\nmovaps  xmm1, xmm10                                                    ; +0x5f8, 0x1403a0cf8\nmov     rcx, rsi                                                       ; +0x5fc, 0x1403a0cfc\ncall    PlayerObject__runBallRotation                                  ; +0x5ff, 0x1403a0cff\nmov     rcx, rsi                                                       ; +0x604, 0x1403a0d04\ncall    PlayerObject__placeStreakPoint                                 ; +0x607, 0x1403a0d07\nmov     rcx, rsi                                                       ; +0x60c, 0x1403a0d0c\ncall    PlayerObject__updateRobotAnimationSpeed                        ; +0x60f, 0x1403a0d0f\nlea     r11, [rsp+0F0h+var_20]                                         ; +0x614, 0x1403a0d14\nmov     rbx, [r11+38h]                                                 ; +0x61c, 0x1403a0d1c\nmovaps  xmm6, xmmword ptr [r11-10h]                                    ; +0x620, 0x1403a0d20\nmovaps  xmm7, xmmword ptr [r11-20h]                                    ; +0x625, 0x1403a0d25\nmovaps  xmm9, xmmword ptr [r11-30h]                                    ; +0x62a, 0x1403a0d2a\nmovaps  xmm10, xmmword ptr [r11-40h]                                   ; +0x62f, 0x1403a0d2f\nmovaps  xmm11, xmmword ptr [r11-50h]                                   ; +0x634, 0x1403a0d34\nmov     rsp, r11                                                       ; +0x639, 0x1403a0d39\npop     r15                                                            ; +0x63c, 0x1403a0d3c\npop     r14                                                            ; +0x63e, 0x1403a0d3e\npop     rdi                                                            ; +0x640, 0x1403a0d40\npop     rsi                                                            ; +0x641, 0x1403a0d41\npop     rbp                                                            ; +0x642, 0x1403a0d42\nretn                                                                   ; +0x643, 0x1403a0d43", "xrefs": ["GJBaseGameLayer::setupLevelStart @ 0x1402122ac", "GJBaseGameLayer::setupLevelStart @ 0x1402122cb", "GJBaseGameLayer::collisionCheckObjects @ 0x1402155d7", "GJBaseGameLayer::collisionCheckObjects @ 0x14021565d", "MenuGameLayer::resetPlayer @ 0x14033283a", "MenuGameLayer::resetPlayer @ 0x14033324d", "PlayerObject::resetObject @ 0x1403973c3", "PlayerObject::copyAttributes @ 0x1403a05fe", "PlayerObject::loadFromCheckpoint @ 0x1403a2a7f", "<???> @ 0x1406d6944"], "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"}