{"type": "func", "start": 4788744, "end": 4789786, "name": "GJBaseGameLayer::teleportPlayer", "pseudocode": "// \n// GJBaseGameLayer::teleportPlayer from 0x491208 to 0x49161a (1042 bytes)\n// \n// 3 xrefs:\n// > PlayerObject::ringJump @ 0x34e1c6\n// > EffectGameObject::triggerObject @ 0x3edf8a\n// > GJBaseGameLayer::collisionCheckObjects @ 0x4928b0\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\nvoid GJBaseGameLayer::teleportPlayer(GJBaseGameLayer *a1, TeleportPortalObject *a2, PlayerObject *a3)\n{\n  PlayerObject *m_player1; // r4\n  TeleportPortalObject *m_orangePortal; // r1\n  _BOOL4 v7; // r10\n  float y; // s16\n  const cocos2d::CCPoint *v9; // r0\n  TeleportPortalObject *PortalTarget; // r6\n  const cocos2d::CCPoint *v11; // r0\n  int v12; // r2\n  bool v13; // r3\n  int v14; // r0\n  int v15; // r2\n  bool v16; // r3\n  int m_gravityMode; // r2\n  PlayerObject *v18; // r0\n  char v19; // r1\n  int m_objectID; // r3\n  int v21; // r2\n  float v22; // s16\n  float v23; // s16\n  float v24; // s15\n  float v25; // s16\n  const cocos2d::CCPoint *v26; // r0\n  int v27; // r2\n  bool v28; // r3\n  const cocos2d::CCPoint *v29; // r1\n  const cocos2d::CCPoint *v30; // r0\n  float v31; // s16\n  cocos2d::CCDirector *v32; // r0\n  float v33; // r8\n  const cocos2d::CCPoint *v34; // r0\n  int v35; // r2\n  bool v36; // r3\n  cocos2d::ccColor3B v37; // [sp+20h] [bp-3Ch]\n  cocos2d::ccColor3B v38; // [sp+24h] [bp-38h]\n  int v39; // [sp+28h] [bp-34h]\n  cocos2d::CCPoint v40; // [sp+2Ch] [bp-30h] BYREF\n  cocos2d::CCPoint v41; // [sp+34h] [bp-28h] BYREF\n  cocos2d::CCPoint v42; // [sp+3Ch] [bp-20h] BYREF\n  cocos2d::CCPoint v43; // [sp+44h] [bp-18h] BYREF\n  cocos2d::CCPoint v44; // [sp+4Ch] [bp-10h] BYREF\n\n  m_player1 = a3;\n  if ( !a3 )\n    m_player1 = a1->m_player1;\n  m_player1->m_wasTeleported = 1;\n  m_orangePortal = a2->m_orangePortal;\n  v7 = a2->m_objectID == 3022;\n  if ( m_orangePortal )\n  {\n    ((void (__fastcall *)(cocos2d::CCPoint *))m_orangePortal->getStartPos)(&v43);\n    y = v43.y;\n    a2->getStartPos(&v44, a2);\n    a2->m_teleportYOffset = y - v44.y;\n  }\n  v9 = m_player1->getPosition(m_player1);\n  cocos2d::CCPoint::CCPoint(&v40, v9);\n  PortalTarget = GJBaseGameLayer::getPortalTarget(a1, a2);\n  if ( PortalTarget )\n  {\n    v11 = a2->getPosition(a2);\n    cocos2d::CCPoint::CCPoint(&v44, v11);\n    cocos2d::CCPoint::operator=((PlayerObject *)&m_player1->m_lastPortalPos, COERCE_FLOAT(&v44), v12, v13);\n    m_player1->m_lastActivatedPortal = a2;\n    m_player1->m_fallStartY = 0.0;\n    GJBaseGameLayer::getPortalTargetPos(&v42, a1, a2, PortalTarget, m_player1);\n    if ( a2->m_saveOffset )\n    {\n      a2->getRealPosition(&v44, a2);\n      v14 = (int)m_player1->getPosition(m_player1);\n      cocos2d::CCPoint::operator-(&v43, &v44, v14);\n      cocos2d::CCPoint::operator-(&v44, &v42, &v43);\n      cocos2d::CCPoint::operator=((PlayerObject *)&v42, COERCE_FLOAT(&v44), v15, v16);\n    }\n    if ( a2->m_ignoreX )\n      v42.x = m_player1->getPosition(m_player1)->x;\n    if ( a2->m_ignoreY )\n      v42.y = m_player1->getPosition(m_player1)->y;\n    m_player1->setPosition(m_player1, &v42);\n  }\n  m_gravityMode = a2->m_gravityMode;\n  if ( m_gravityMode > 0 )\n  {\n    switch ( m_gravityMode )\n    {\n      case 1:\n        v18 = m_player1;\n        v19 = 0;\n        break;\n      case 2:\n        v19 = 1;\n        v18 = m_player1;\n        LOBYTE(m_gravityMode) = 1;\n        break;\n      case 3:\n        v18 = m_player1;\n        LOBYTE(m_gravityMode) = 1;\n        v19 = !m_player1->m_isUpsideDown;\n        break;\n      default:\n        goto LABEL_21;\n    }\n    PlayerObject::flipGravity(v18, v19, m_gravityMode);\n  }\nLABEL_21:\n  if ( !v7 )\n  {\n    GameObject::playShineEffect(a2);\n    a2->activatedByPlayer(a2, m_player1);\n  }\n  if ( PortalTarget )\n  {\n    if ( !a2->m_hasNoEffects )\n    {\n      v37.r = 0;\n      *(_WORD *)&v37.g = -1;\n      PlayerObject::spawnPortalCircle(m_player1, v37, 50.0);\n    }\n    m_objectID = PortalTarget->m_objectID;\n    if ( m_objectID == 749 )\n      goto LABEL_33;\n    if ( m_objectID > 749 )\n    {\n      if ( m_objectID == 2064 )\n        goto LABEL_33;\n      v21 = 2902;\n    }\n    else\n    {\n      if ( m_objectID == 38 )\n        goto LABEL_33;\n      v21 = 747;\n    }\n    if ( m_objectID != v21 )\n    {\n      v22 = 90.0;\n      goto LABEL_35;\n    }\nLABEL_33:\n    v22 = 180.0;\nLABEL_35:\n    v23 = v22 - COERCE_FLOAT(((int (__fastcall *)(TeleportPortalObject *))PortalTarget->getRotationX)(PortalTarget));\n    v24 = 180.0;\n    if ( !((int (__fastcall *)(TeleportPortalObject *))PortalTarget->isFlipX)(PortalTarget) )\n      v24 = 0.0;\n    v25 = v23 + v24;\n    v26 = PortalTarget->getPosition(PortalTarget);\n    cocos2d::CCPoint::CCPoint(&v44, v26);\n    cocos2d::CCPoint::operator=((PlayerObject *)&m_player1->m_lastPortalPos, COERCE_FLOAT(&v44), v27, v28);\n    m_player1->m_lastActivatedPortal = PortalTarget;\n    GameObject::playShineEffect(PortalTarget);\n    if ( !a2->m_hasNoEffects )\n    {\n      v38.b = a2->m_hasNoEffects;\n      *(_WORD *)&v38.r = -14081;\n      PlayerObject::spawnPortalCircle(m_player1, v38, 50.0);\n    }\n    PlayerObject::resetStreak(m_player1);\n    if ( m_player1->m_isDart )\n      PlayerObject::placeStreakPoint(m_player1);\n    if ( !a2->m_hasNoEffects )\n    {\n      if ( v7 )\n        v29 = &v40;\n      else\n        v29 = a2->getPosition(a2);\n      cocos2d::CCPoint::CCPoint(&v41, v29);\n      if ( v7 )\n        v30 = m_player1->getPosition(m_player1);\n      else\n        v30 = PortalTarget->getPosition(PortalTarget);\n      cocos2d::CCPoint::CCPoint(&v42, v30);\n      cocos2d::CCPoint::CCPoint(&v43, &v41);\n      cocos2d::CCPoint::CCPoint(&v44, &v42);\n      BYTE2(v39) = m_player1->m_playerColor1.b;\n      LOWORD(v39) = *(_WORD *)&m_player1->m_playerColor1.r;\n      GJBaseGameLayer::lightningFlash((int)a1, &v43, (int)&v44, v39, 4.0, 1045220557, 100, 1, 1.0);\n    }\n    goto LABEL_52;\n  }\n  v31 = 0.0;\n  if ( ((int (__fastcall *)(TeleportPortalObject *))a2->isFlipX)(a2) )\n    v31 = 180.0;\n  v25 = v31 - a2->getRotationX(a2);\nLABEL_52:\n  if ( a2->m_teleportEase )\n    a1->m_gameState.m_unkUint13 = 0.5;\n  v32 = cocos2d::CCDirector::sharedDirector();\n  cocos2d::CCDirector::getWinSize((cocos2d::CCSize *)&v43, v32);\n  if ( a2->m_teleportEase )\n    v33 = 180.0;\n  else\n    v33 = 60.0;\n  if ( PortalTarget )\n    PlayerObject::playerTeleported(m_player1);\n  if ( a2->m_redirectForceEnabled )\n  {\n    PlayerObject::redirectPlayerForce(\n      m_player1,\n      v25,\n      a2->m_redirectForceMod,\n      a2->m_redirectForceMin,\n      a2->m_redirectForceMax);\n  }\n  else if ( a2->m_staticForceEnabled )\n  {\n    PlayerObject::updateStaticForce(m_player1, v25, a2->m_staticForce, a2->m_staticForceAdditive);\n  }\n  if ( a2->m_instantCamera )\n  {\n    a1->m_gameState.m_unkBool28 = 1;\n    a1->m_gameState.m_unkBool29 = 1;\n  }\n  if ( a2->m_snapGround )\n  {\n    v34 = m_player1->getPosition(m_player1);\n    cocos2d::CCPoint::CCPoint(&v44, v34);\n    cocos2d::CCPoint::operator=((PlayerObject *)&m_player1->m_lastGroundedPos, COERCE_FLOAT(&v44), v35, v36);\n  }\n  if ( m_player1->m_isDashing && a2->m_redirectDash )\n    PlayerObject::redirectDash(m_player1, v25);\n  if ( PortalTarget )\n    GJBaseGameLayer::checkCameraLimitAfterTeleport(a1, m_player1, v33);\n  GJBaseGameLayer::gameEventTriggered(a1, Teleported, 0, 0);\n}", "assembly": "; \n; GJBaseGameLayer::teleportPlayer from 0x491208 to 0x49161a (1042 bytes)\n; \n; 3 xrefs:\n; > PlayerObject::ringJump @ 0x34e1c6\n; > EffectGameObject::triggerObject @ 0x3edf8a\n; > GJBaseGameLayer::collisionCheckObjects @ 0x4928b0\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\nLDR.W           R3, =(__stack_chk_guard_ptr - 0x491214)                ; +0x0, 0x491208\nPUSH.W          {R4-R11,LR}                                            ; +0x4, 0x49120c\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0x8, 0x491210\nLDR             R3, [R3]; __stack_chk_guard                            ; +0xa, 0x491212\nVPUSH           {D8}                                                   ; +0xc, 0x491214\nMOV             R5, R1                                                 ; +0x10, 0x491218\nLDR             R1, [R3]                                               ; +0x12, 0x49121a\nMOV             R7, R0                                                 ; +0x14, 0x49121c\nMOV             R4, R2                                                 ; +0x16, 0x49121e\nSUB             SP, SP, #0x5C                                          ; +0x18, 0x491220\nSTR             R1, [SP,#0x5C+var_8]                                   ; +0x1a, 0x491222\nSTR             R3, [SP,#0x5C+var_40]                                  ; +0x1c, 0x491224\nCBNZ            R2, loc_49122C                                         ; +0x1e, 0x491226\nLDR.W           R4, [R0,#0x8B8]                                        ; +0x20, 0x491228\nMOVS            R3, #1                                                 ; +0x24, 0x49122c\nSTRB.W          R3, [R4,#0x490]                                        ; +0x26, 0x49122e\nLDR.W           R3, [R5,#0x374]                                        ; +0x2a, 0x491232\nMOVW            R10, #0xBCE                                            ; +0x2e, 0x491236\nLDR.W           R1, [R5,#0x668]                                        ; +0x32, 0x49123a\nADD.W           R8, SP, #0x5C+var_18                                   ; +0x36, 0x49123e\nRSB.W           R3, R10, R3                                            ; +0x3a, 0x491242\nRSBS.W          R10, R3, #0                                            ; +0x3e, 0x491246\nADC.W           R10, R10, R3                                           ; +0x42, 0x49124a\nCBZ             R1, loc_49127A                                         ; +0x46, 0x49124e\nLDR             R3, [R1]                                               ; +0x48, 0x491250\nMOV             R0, R8                                                 ; +0x4a, 0x491252\nLDR.W           R3, [R3,#0x384]                                        ; +0x4c, 0x491254\nBLX             R3                                                     ; +0x50, 0x491258\nLDR             R3, [R5]                                               ; +0x52, 0x49125a\nADD             R0, SP, #0x5C+var_10                                   ; +0x54, 0x49125c\nMOV             R1, R5                                                 ; +0x56, 0x49125e\nVLDR            S16, [SP,#0x5C+var_14]                                 ; +0x58, 0x491260\nLDR.W           R3, [R3,#0x384]                                        ; +0x5c, 0x491264\nBLX             R3                                                     ; +0x60, 0x491268\nADD.W           R3, R5, #0x670                                         ; +0x62, 0x49126a\nVLDR            S15, [SP,#0x5C+var_C]                                  ; +0x66, 0x49126e\nVSUB.F32        S16, S16, S15                                          ; +0x6a, 0x491272\nVSTR            S16, [R3]                                              ; +0x6e, 0x491276\nLDR             R3, [R4]                                               ; +0x72, 0x49127a\nMOV             R0, R4                                                 ; +0x74, 0x49127c\nLDR             R3, [R3,#0x60]                                         ; +0x76, 0x49127e\nBLX             R3                                                     ; +0x78, 0x491280\nMOV             R1, R0; cocos2d::CCPoint *                             ; +0x7a, 0x491282\nADD             R0, SP, #0x5C+var_30; this                             ; +0x7c, 0x491284\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x7e, 0x491286\nMOV             R0, R7; this                                           ; +0x82, 0x49128a\nMOV             R1, R5; TeleportPortalObject *                         ; +0x84, 0x49128c\nBL              _ZN15GJBaseGameLayer15getPortalTargetEP20TeleportPortalObject; GJBaseGameLayer::getPortalTarget(TeleportPortalObject *) ; +0x86, 0x49128e\nMOV             R6, R0                                                 ; +0x8a, 0x491292\nCMP             R0, #0                                                 ; +0x8c, 0x491294\nBEQ             loc_491338                                             ; +0x8e, 0x491296\nLDR             R3, [R5]                                               ; +0x90, 0x491298\nMOV             R0, R5                                                 ; +0x92, 0x49129a\nADD.W           R9, SP, #0x5C+var_10                                   ; +0x94, 0x49129c\nADD.W           R11, SP, #0x5C+var_20                                  ; +0x98, 0x4912a0\nLDR             R3, [R3,#0x60]                                         ; +0x9c, 0x4912a4\nBLX             R3                                                     ; +0x9e, 0x4912a6\nMOV             R1, R0; cocos2d::CCPoint *                             ; +0xa0, 0x4912a8\nMOV             R0, R9; this                                           ; +0xa2, 0x4912aa\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0xa4, 0x4912ac\nMOV             R1, R9                                                 ; +0xa8, 0x4912b0\nADD.W           R0, R4, #0x7F8                                         ; +0xaa, 0x4912b2\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0xae, 0x4912b6\nADD.W           R3, R4, #0x9C0                                         ; +0xb2, 0x4912ba\nSTR.W           R5, [R4,#0x84C]                                        ; +0xb6, 0x4912be\nMOVS            R2, #0                                                 ; +0xba, 0x4912c2\nMOV             R0, R11; this                                          ; +0xbc, 0x4912c4\nSTR             R2, [R3]                                               ; +0xbe, 0x4912c6\nMOV             R1, R7; TeleportPortalObject *                         ; +0xc0, 0x4912c8\nMOV             R3, R6; PlayerObject *                                 ; +0xc2, 0x4912ca\nSTR             R4, [SP,#0x5C+var_5C]                                  ; +0xc4, 0x4912cc\nMOV             R2, R5; GameObject *                                   ; +0xc6, 0x4912ce\nBL              _ZN15GJBaseGameLayer18getPortalTargetPosEP20TeleportPortalObjectP10GameObjectP12PlayerObject; GJBaseGameLayer::getPortalTargetPos(TeleportPortalObject *,GameObject *,PlayerObject *) ; +0xc8, 0x4912d0\nLDRB.W          R3, [R5,#0x68C]                                        ; +0xcc, 0x4912d4\nCBZ             R3, loc_49130A                                         ; +0xd0, 0x4912d8\nLDR             R3, [R5]                                               ; +0xd2, 0x4912da\nMOV             R1, R5                                                 ; +0xd4, 0x4912dc\nMOV             R0, R9                                                 ; +0xd6, 0x4912de\nLDR.W           R3, [R3,#0x2A0]                                        ; +0xd8, 0x4912e0\nBLX             R3                                                     ; +0xdc, 0x4912e4\nLDR             R3, [R4]                                               ; +0xde, 0x4912e6\nMOV             R0, R4                                                 ; +0xe0, 0x4912e8\nLDR             R3, [R3,#0x60]                                         ; +0xe2, 0x4912ea\nBLX             R3                                                     ; +0xe4, 0x4912ec\nMOV             R1, R9                                                 ; +0xe6, 0x4912ee\nMOV             R2, R0                                                 ; +0xe8, 0x4912f0\nMOV             R0, R8                                                 ; +0xea, 0x4912f2\nBL              _ZNK7cocos2d7CCPointmiERKS0_; cocos2d::CCPoint::operator-(cocos2d::CCPoint const&) ; +0xec, 0x4912f4\nMOV             R0, R9                                                 ; +0xf0, 0x4912f8\nMOV             R1, R11                                                ; +0xf2, 0x4912fa\nMOV             R2, R8                                                 ; +0xf4, 0x4912fc\nBL              _ZNK7cocos2d7CCPointmiERKS0_; cocos2d::CCPoint::operator-(cocos2d::CCPoint const&) ; +0xf6, 0x4912fe\nMOV             R0, R11                                                ; +0xfa, 0x491302\nMOV             R1, R9                                                 ; +0xfc, 0x491304\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0xfe, 0x491306\nLDRB.W          R3, [R5,#0x68D]                                        ; +0x102, 0x49130a\nCBZ             R3, loc_49131C                                         ; +0x106, 0x49130e\nLDR             R3, [R4]                                               ; +0x108, 0x491310\nMOV             R0, R4                                                 ; +0x10a, 0x491312\nLDR             R3, [R3,#0x60]                                         ; +0x10c, 0x491314\nBLX             R3                                                     ; +0x10e, 0x491316\nLDR             R3, [R0]                                               ; +0x110, 0x491318\nSTR             R3, [SP,#0x5C+var_20]                                  ; +0x112, 0x49131a\nLDRB.W          R3, [R5,#0x68E]                                        ; +0x114, 0x49131c\nCBZ             R3, loc_49132E                                         ; +0x118, 0x491320\nLDR             R3, [R4]                                               ; +0x11a, 0x491322\nMOV             R0, R4                                                 ; +0x11c, 0x491324\nLDR             R3, [R3,#0x60]                                         ; +0x11e, 0x491326\nBLX             R3                                                     ; +0x120, 0x491328\nLDR             R3, [R0,#4]                                            ; +0x122, 0x49132a\nSTR             R3, [SP,#0x5C+var_1C]                                  ; +0x124, 0x49132c\nLDR             R3, [R4]                                               ; +0x126, 0x49132e\nMOV             R0, R4                                                 ; +0x128, 0x491330\nADD             R1, SP, #0x5C+var_20                                   ; +0x12a, 0x491332\nLDR             R3, [R3,#0x5C]                                         ; +0x12c, 0x491334\nBLX             R3                                                     ; +0x12e, 0x491336\nLDR.W           R2, [R5,#0x690]                                        ; +0x130, 0x491338\nCMP             R2, #0                                                 ; +0x134, 0x49133c\nBLE             loc_49136A                                             ; +0x136, 0x49133e\nCMP             R2, #1                                                 ; +0x138, 0x491340\nBNE             loc_49134A                                             ; +0x13a, 0x491342\nMOV             R0, R4                                                 ; +0x13c, 0x491344\nMOVS            R1, #0                                                 ; +0x13e, 0x491346\nB               loc_491366                                             ; +0x140, 0x491348\nCMP             R2, #2                                                 ; +0x142, 0x49134a\nBNE             loc_491356                                             ; +0x144, 0x49134c\nMOVS            R1, #1                                                 ; +0x146, 0x49134e\nMOV             R0, R4                                                 ; +0x148, 0x491350\nMOV             R2, R1                                                 ; +0x14a, 0x491352\nB               loc_491366                                             ; +0x14c, 0x491354\nCMP             R2, #3                                                 ; +0x14e, 0x491356\nBNE             loc_49136A                                             ; +0x150, 0x491358\nLDRB.W          R1, [R4,#0x7B7]                                        ; +0x152, 0x49135a\nMOV             R0, R4; this                                           ; +0x156, 0x49135e\nMOVS            R2, #1; bool                                           ; +0x158, 0x491360\nEOR.W           R1, R1, #1; bool                                       ; +0x15a, 0x491362\nBL              _ZN12PlayerObject11flipGravityEbb; PlayerObject::flipGravity(bool,bool) ; +0x15e, 0x491366\nCMP.W           R10, #0                                                ; +0x162, 0x49136a\nBNE             loc_491382                                             ; +0x166, 0x49136e\nMOV             R0, R5; this                                           ; +0x168, 0x491370\nBL              _ZN10GameObject15playShineEffectEv; GameObject::playShineEffect(void) ; +0x16a, 0x491372\nLDR             R3, [R5]                                               ; +0x16e, 0x491376\nMOV             R0, R5                                                 ; +0x170, 0x491378\nMOV             R1, R4                                                 ; +0x172, 0x49137a\nLDR.W           R3, [R3,#0x2F8]                                        ; +0x174, 0x49137c\nBLX             R3                                                     ; +0x178, 0x491380\nCMP             R6, #0                                                 ; +0x17a, 0x491382\nBEQ.W           loc_4914F6                                             ; +0x17c, 0x491384\nLDRB.W          R3, [R5,#0x384]                                        ; +0x180, 0x491388\nCBNZ            R3, loc_4913A6                                         ; +0x184, 0x49138c\nSTRB.W          R3, [SP,#0x5C+var_3C]                                  ; +0x186, 0x49138e\nMOVS            R3, #0xFF                                              ; +0x18a, 0x491392\nSTRB.W          R3, [SP,#0x5C+var_3C+1]                                ; +0x18c, 0x491394\nMOV             R0, R4                                                 ; +0x190, 0x491398\nSTRB.W          R3, [SP,#0x5C+var_3C+2]                                ; +0x192, 0x49139a\nLDR             R1, [SP,#0x5C+var_3C]                                  ; +0x196, 0x49139e\nLDR             R2, =0x42480000                                        ; +0x198, 0x4913a0\nBL              _ZN12PlayerObject17spawnPortalCircleEN7cocos2d10_ccColor3BEf; PlayerObject::spawnPortalCircle(cocos2d::_ccColor3B,float) ; +0x19a, 0x4913a2\nLDR.W           R3, [R6,#0x374]                                        ; +0x19e, 0x4913a6\nMOVW            R2, #0x2ED                                             ; +0x1a2, 0x4913aa\nCMP             R3, R2                                                 ; +0x1a6, 0x4913ae\nBEQ             loc_4913CC                                             ; +0x1a8, 0x4913b0\nBGT             loc_4913BE                                             ; +0x1aa, 0x4913b2\nCMP             R3, #0x26 ; '&'                                        ; +0x1ac, 0x4913b4\nBEQ             loc_4913CC                                             ; +0x1ae, 0x4913b6\nMOVW            R2, #0x2EB                                             ; +0x1b0, 0x4913b8\nB               loc_4913C8                                             ; +0x1b4, 0x4913bc\nCMP.W           R3, #0x810                                             ; +0x1b6, 0x4913be\nBEQ             loc_4913CC                                             ; +0x1ba, 0x4913c2\nMOVW            R2, #0xB56                                             ; +0x1bc, 0x4913c4\nCMP             R3, R2                                                 ; +0x1c0, 0x4913c8\nBNE             loc_4913D2                                             ; +0x1c2, 0x4913ca\nVLDR            S16, =180.0                                            ; +0x1c4, 0x4913cc\nB               loc_4913D6                                             ; +0x1c8, 0x4913d0\nVLDR            S16, =90.0                                             ; +0x1ca, 0x4913d2\nLDR             R3, [R6]                                               ; +0x1ce, 0x4913d6\nMOV             R0, R6                                                 ; +0x1d0, 0x4913d8\nADD.W           R9, SP, #0x5C+var_10                                   ; +0x1d2, 0x4913da\nLDR.W           R3, [R3,#0xB8]                                         ; +0x1d6, 0x4913de\nBLX             R3                                                     ; +0x1da, 0x4913e2\nLDR             R3, [R6]                                               ; +0x1dc, 0x4913e4\nLDR.W           R3, [R3,#0x2C0]                                        ; +0x1de, 0x4913e6\nVMOV            S15, R0                                                ; +0x1e2, 0x4913ea\nMOV             R0, R6                                                 ; +0x1e6, 0x4913ee\nVSUB.F32        S16, S16, S15                                          ; +0x1e8, 0x4913f0\nBLX             R3                                                     ; +0x1ec, 0x4913f4\nVLDR            S14, =0.0                                              ; +0x1ee, 0x4913f6\nLDR             R3, [R6]                                               ; +0x1f2, 0x4913fa\nVLDR            S15, =180.0                                            ; +0x1f4, 0x4913fc\nLDR             R3, [R3,#0x60]                                         ; +0x1f8, 0x491400\nCMP             R0, #0                                                 ; +0x1fa, 0x491402\nMOV             R0, R6                                                 ; +0x1fc, 0x491404\nIT EQ                                                                  ; +0x1fe, 0x491406\nVMOVEQ.F32      S15, S14                                               ; +0x200, 0x491408\nVADD.F32        S16, S16, S15                                          ; +0x204, 0x49140c\nBLX             R3                                                     ; +0x208, 0x491410\nMOV             R1, R0; cocos2d::CCPoint *                             ; +0x20a, 0x491412\nMOV             R0, R9; this                                           ; +0x20c, 0x491414\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x20e, 0x491416\nMOV             R1, R9                                                 ; +0x212, 0x49141a\nADD.W           R0, R4, #0x7F8                                         ; +0x214, 0x49141c\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x218, 0x491420\nSTR.W           R6, [R4,#0x84C]                                        ; +0x21c, 0x491424\nMOV             R0, R6; this                                           ; +0x220, 0x491428\nBL              _ZN10GameObject15playShineEffectEv; GameObject::playShineEffect(void) ; +0x222, 0x49142a\nLDRB.W          R3, [R5,#0x384]                                        ; +0x226, 0x49142e\nCBNZ            R3, loc_49144E                                         ; +0x22a, 0x491432\nMOVS            R2, #0xFF                                              ; +0x22c, 0x491434\nSTRB.W          R3, [SP,#0x5C+var_38+2]                                ; +0x22e, 0x491436\nSTRB.W          R2, [SP,#0x5C+var_38]                                  ; +0x232, 0x49143a\nMOVS            R2, #0xC8                                              ; +0x236, 0x49143e\nSTRB.W          R2, [SP,#0x5C+var_38+1]                                ; +0x238, 0x491440\nMOV             R0, R4                                                 ; +0x23c, 0x491444\nLDR             R1, [SP,#0x5C+var_38]                                  ; +0x23e, 0x491446\nLDR             R2, =0x42480000                                        ; +0x240, 0x491448\nBL              _ZN12PlayerObject17spawnPortalCircleEN7cocos2d10_ccColor3BEf; PlayerObject::spawnPortalCircle(cocos2d::_ccColor3B,float) ; +0x242, 0x49144a\nMOV             R0, R4; this                                           ; +0x246, 0x49144e\nBL              _ZN12PlayerObject11resetStreakEv; PlayerObject::resetStreak(void) ; +0x248, 0x491450\nLDRB.W          R3, [R4,#0x7B4]                                        ; +0x24c, 0x491454\nCBZ             R3, loc_491460                                         ; +0x250, 0x491458\nMOV             R0, R4; this                                           ; +0x252, 0x49145a\nBL              _ZN12PlayerObject16placeStreakPointEv; PlayerObject::placeStreakPoint(void) ; +0x254, 0x49145c\nLDRB.W          R3, [R5,#0x384]                                        ; +0x258, 0x491460\nCMP             R3, #0                                                 ; +0x25c, 0x491464\nBNE             loc_491522                                             ; +0x25e, 0x491466\nCMP.W           R10, #0                                                ; +0x260, 0x491468\nBNE             loc_49147A                                             ; +0x264, 0x49146c\nLDR             R3, [R5]                                               ; +0x266, 0x49146e\nMOV             R0, R5                                                 ; +0x268, 0x491470\nLDR             R3, [R3,#0x60]                                         ; +0x26a, 0x491472\nBLX             R3                                                     ; +0x26c, 0x491474\nMOV             R1, R0                                                 ; +0x26e, 0x491476\nB               loc_49147C                                             ; +0x270, 0x491478\nADD             R1, SP, #0x5C+var_30; cocos2d::CCPoint *               ; +0x272, 0x49147a\nADD.W           R11, SP, #0x5C+var_28                                  ; +0x274, 0x49147c\nMOV             R0, R11; this                                          ; +0x278, 0x491480\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x27a, 0x491482\nCMP.W           R10, #0                                                ; +0x27e, 0x491486\nBEQ             loc_491494                                             ; +0x282, 0x49148a\nLDR             R3, [R4]                                               ; +0x284, 0x49148c\nMOV             R0, R4                                                 ; +0x286, 0x49148e\nLDR             R3, [R3,#0x60]                                         ; +0x288, 0x491490\nB               loc_49149A                                             ; +0x28a, 0x491492\nLDR             R3, [R6]                                               ; +0x28c, 0x491494\nMOV             R0, R6                                                 ; +0x28e, 0x491496\nLDR             R3, [R3,#0x60]                                         ; +0x290, 0x491498\nBLX             R3                                                     ; +0x292, 0x49149a\nADD.W           R10, SP, #0x5C+var_20                                  ; +0x294, 0x49149c\nMOV             R1, R0; cocos2d::CCPoint *                             ; +0x298, 0x4914a0\nMOV             R0, R10; this                                          ; +0x29a, 0x4914a2\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x29c, 0x4914a4\nMOV             R1, R11; cocos2d::CCPoint *                            ; +0x2a0, 0x4914a8\nMOV             R0, R8; this                                           ; +0x2a2, 0x4914aa\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x2a4, 0x4914ac\nMOV             R1, R10; cocos2d::CCPoint *                            ; +0x2a8, 0x4914b0\nMOV             R0, R9; this                                           ; +0x2aa, 0x4914b2\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x2ac, 0x4914b4\nLDRB.W          R3, [R4,#0x854]                                        ; +0x2b0, 0x4914b8\nLDRB.W          R2, [R4,#0x853]                                        ; +0x2b4, 0x4914bc\nMOV             R0, R7                                                 ; +0x2b8, 0x4914c0\nLDRB.W          R1, [R4,#0x852]                                        ; +0x2ba, 0x4914c2\nSTRB.W          R3, [SP,#0x5C+var_34+2]                                ; +0x2be, 0x4914c6\nMOV.W           R3, #0x40800000                                        ; +0x2c2, 0x4914ca\nSTR             R3, [SP,#0x5C+var_5C]                                  ; +0x2c6, 0x4914ce\nLDR             R3, =0x3E4CCCCD                                        ; +0x2c8, 0x4914d0\nSTRB.W          R1, [SP,#0x5C+var_34]                                  ; +0x2ca, 0x4914d2\nMOV             R1, R8                                                 ; +0x2ce, 0x4914d6\nSTRB.W          R2, [SP,#0x5C+var_34+1]                                ; +0x2d0, 0x4914d8\nMOV             R2, R9                                                 ; +0x2d4, 0x4914dc\nSTR             R3, [SP,#0x5C+var_58]                                  ; +0x2d6, 0x4914de\nMOVS            R3, #0x64 ; 'd'                                        ; +0x2d8, 0x4914e0\nSTR             R3, [SP,#0x5C+var_54]                                  ; +0x2da, 0x4914e2\nMOVS            R3, #1                                                 ; +0x2dc, 0x4914e4\nSTR             R3, [SP,#0x5C+var_50]                                  ; +0x2de, 0x4914e6\nMOV.W           R3, #0x3F800000                                        ; +0x2e0, 0x4914e8\nSTR             R3, [SP,#0x5C+var_4C]                                  ; +0x2e4, 0x4914ec\nLDR             R3, [SP,#0x5C+var_34]                                  ; +0x2e6, 0x4914ee\nBL              _ZN15GJBaseGameLayer14lightningFlashEN7cocos2d7CCPointES1_NS0_10_ccColor3BEffibf; GJBaseGameLayer::lightningFlash(cocos2d::CCPoint,cocos2d::CCPoint,cocos2d::_ccColor3B,float,float,int,bool,float) ; +0x2e8, 0x4914f0\nB               loc_491522                                             ; +0x2ec, 0x4914f4\nLDR             R3, [R5]                                               ; +0x2ee, 0x4914f6\nMOV             R0, R5                                                 ; +0x2f0, 0x4914f8\nVLDR            S16, =0.0                                              ; +0x2f2, 0x4914fa\nLDR.W           R3, [R3,#0x2C0]                                        ; +0x2f6, 0x4914fe\nBLX             R3                                                     ; +0x2fa, 0x491502\nVLDR            S15, =180.0                                            ; +0x2fc, 0x491504\nLDR             R3, [R5]                                               ; +0x300, 0x491508\nLDR.W           R3, [R3,#0xB8]                                         ; +0x302, 0x49150a\nCMP             R0, #0                                                 ; +0x306, 0x49150e\nMOV             R0, R5                                                 ; +0x308, 0x491510\nIT NE                                                                  ; +0x30a, 0x491512\nVMOVNE.F32      S16, S15                                               ; +0x30c, 0x491514\nBLX             R3                                                     ; +0x310, 0x491518\nVMOV            S15, R0; this                                          ; +0x312, 0x49151a\nVSUB.F32        S16, S16, S15                                          ; +0x316, 0x49151e\nLDRB.W          R3, [R5,#0x674]                                        ; +0x31a, 0x491522\nCBZ             R3, loc_491532                                         ; +0x31e, 0x491526\nADDW            R3, R7, #0x404                                         ; +0x320, 0x491528\nMOV.W           R2, #0x3F000000                                        ; +0x324, 0x49152c\nSTR             R2, [R3]                                               ; +0x328, 0x491530\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x32a, 0x491532\nMOV             R1, R0                                                 ; +0x32e, 0x491536\nMOV             R0, R8; this                                           ; +0x330, 0x491538\nBL              _ZN7cocos2d10CCDirector10getWinSizeEv; cocos2d::CCDirector::getWinSize(void) ; +0x332, 0x49153a\nLDRB.W          R3, [R5,#0x674]                                        ; +0x336, 0x49153e\nVLDR            S14, =180.0                                            ; +0x33a, 0x491542\nCMP             R3, #0                                                 ; +0x33e, 0x491546\nVLDR            S15, =60.0                                             ; +0x340, 0x491548\nITE NE                                                                 ; +0x344, 0x49154c\nVMOVNE          R8, S14                                                ; +0x346, 0x49154e\nVMOVEQ          R8, S15                                                ; +0x34a, 0x491552\nCBZ             R6, loc_49155E                                         ; +0x34e, 0x491556\nMOV             R0, R4; this                                           ; +0x350, 0x491558\nBL              _ZN12PlayerObject16playerTeleportedEv; PlayerObject::playerTeleported(void) ; +0x352, 0x49155a\nLDRB.W          R3, [R5,#0x67C]                                        ; +0x356, 0x49155e\nCBZ             R3, loc_491584                                         ; +0x35a, 0x491562\nADD.W           R1, R5, #0x688                                         ; +0x35c, 0x491564\nADD.W           R2, R5, #0x680                                         ; +0x360, 0x491568\nADDW            R3, R5, #0x684                                         ; +0x364, 0x49156c\nMOV             R0, R4; this                                           ; +0x368, 0x491570\nLDR             R1, [R1]                                               ; +0x36a, 0x491572\nSTR             R1, [SP,#0x5C+var_5C]; float                           ; +0x36c, 0x491574\nVMOV            R1, S16; float                                         ; +0x36e, 0x491576\nLDR             R2, [R2]; float                                        ; +0x372, 0x49157a\nLDR             R3, [R3]; float                                        ; +0x374, 0x49157c\nBL              _ZN12PlayerObject19redirectPlayerForceEffff; PlayerObject::redirectPlayerForce(float,float,float,float) ; +0x376, 0x49157e\nB               loc_49159E                                             ; +0x37a, 0x491582\nLDRB.W          R3, [R5,#0x675]                                        ; +0x37c, 0x491584\nCBZ             R3, loc_49159E                                         ; +0x380, 0x491588\nADD.W           R3, R5, #0x678                                         ; +0x382, 0x49158a\nMOV             R0, R4; this                                           ; +0x386, 0x49158e\nVMOV            R1, S16; float                                         ; +0x388, 0x491590\nLDR             R2, [R3]; float                                        ; +0x38c, 0x491594\nLDRB.W          R3, [R5,#0x694]; bool                                  ; +0x38e, 0x491596\nBL              _ZN12PlayerObject17updateStaticForceEffb; PlayerObject::updateStaticForce(float,float,bool) ; +0x392, 0x49159a\nLDRB.W          R3, [R5,#0x695]                                        ; +0x396, 0x49159e\nCBZ             R3, loc_4915AE                                         ; +0x39a, 0x4915a2\nMOVS            R3, #1                                                 ; +0x39c, 0x4915a4\nSTRB.W          R3, [R7,#0x560]                                        ; +0x39e, 0x4915a6\nSTRB.W          R3, [R7,#0x561]                                        ; +0x3a2, 0x4915aa\nLDRB.W          R3, [R5,#0x696]                                        ; +0x3a6, 0x4915ae\nCBZ             R3, loc_4915D2                                         ; +0x3aa, 0x4915b2\nLDR             R3, [R4]                                               ; +0x3ac, 0x4915b4\nMOV             R0, R4                                                 ; +0x3ae, 0x4915b6\nADD.W           R9, SP, #0x5C+var_10                                   ; +0x3b0, 0x4915b8\nLDR             R3, [R3,#0x60]                                         ; +0x3b4, 0x4915bc\nBLX             R3                                                     ; +0x3b6, 0x4915be\nMOV             R1, R0; cocos2d::CCPoint *                             ; +0x3b8, 0x4915c0\nMOV             R0, R9; this                                           ; +0x3ba, 0x4915c2\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x3bc, 0x4915c4\nADDW            R0, R4, #0x824                                         ; +0x3c0, 0x4915c8\nMOV             R1, R9                                                 ; +0x3c4, 0x4915cc\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x3c6, 0x4915ce\nLDRB.W          R3, [R4,#0x7DC]                                        ; +0x3ca, 0x4915d2\nCBZ             R3, loc_4915DE                                         ; +0x3ce, 0x4915d6\nLDRB.W          R3, [R5,#0x697]                                        ; +0x3d0, 0x4915d8\nCBNZ            R3, loc_491604                                         ; +0x3d4, 0x4915dc\nCBZ             R6, loc_4915EA                                         ; +0x3d6, 0x4915de\nMOV             R0, R7; this                                           ; +0x3d8, 0x4915e0\nMOV             R1, R4; PlayerObject *                                 ; +0x3da, 0x4915e2\nMOV             R2, R8; float                                          ; +0x3dc, 0x4915e4\nBL              _ZN15GJBaseGameLayer29checkCameraLimitAfterTeleportEP12PlayerObjectf; GJBaseGameLayer::checkCameraLimitAfterTeleport(PlayerObject *,float) ; +0x3de, 0x4915e6\nMOVS            R2, #0                                                 ; +0x3e2, 0x4915ea\nMOV             R0, R7                                                 ; +0x3e4, 0x4915ec\nMOV             R3, R2                                                 ; +0x3e6, 0x4915ee\nMOVS            R1, #0x19                                              ; +0x3e8, 0x4915f0\nBL              _ZN15GJBaseGameLayer18gameEventTriggeredE11GJGameEventii; GJBaseGameLayer::gameEventTriggered(GJGameEvent,int,int) ; +0x3ea, 0x4915f2\nLDR             R3, [SP,#0x5C+var_40]                                  ; +0x3ee, 0x4915f6\nLDR             R2, [SP,#0x5C+var_8]                                   ; +0x3f0, 0x4915f8\nLDR             R3, [R3]                                               ; +0x3f2, 0x4915fa\nCMP             R2, R3                                                 ; +0x3f4, 0x4915fc\nBEQ             loc_491610                                             ; +0x3f6, 0x4915fe\nBLX             __stack_chk_fail                                       ; +0x3f8, 0x491600\nMOV             R0, R4; this                                           ; +0x3fc, 0x491604\nVMOV            R1, S16; float                                         ; +0x3fe, 0x491606\nBL              _ZN12PlayerObject12redirectDashEf; PlayerObject::redirectDash(float) ; +0x402, 0x49160a\nB               loc_4915DE                                             ; +0x406, 0x49160e\nADD             SP, SP, #0x5C ; '\\'                                    ; +0x408, 0x491610\nVPOP            {D8}                                                   ; +0x40a, 0x491612\nPOP.W           {R4-R11,PC}                                            ; +0x40e, 0x491616", "xrefs": ["PlayerObject::ringJump @ 0x34e1c6", "EffectGameObject::triggerObject @ 0x3edf8a", "GJBaseGameLayer::collisionCheckObjects @ 0x4928b0"], "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"}