{"type": "func", "start": 5372461728, "end": 5372461879, "name": "PlayerObject::updateCollideRight", "pseudocode": "// \n// PlayerObject::updateCollideRight from 0x1403942a0 to 0x140394337 (151 bytes)\n// \n// 3 xrefs:\n// > PlayerObject::collidedWithObjectInternal @ 0x1403934ae\n// > PlayerObject::updateCollide @ 0x140394077\n// > <???> @ 0x1406d62cc\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 PlayerObject::updateCollideRight(PlayerObject *a1, float a2, GameObject *a3)\n{\n  int m_uniqueID; // eax\n  double m_collidedRightMinX; // xmm1_8\n  double v8; // xmm2_8\n  cocos2d::CCDictionary *m_collisionLogRight; // rcx\n\n  if ( a3 )\n    m_uniqueID = a3->m_uniqueID;\n  else\n    m_uniqueID = 0;\n  m_collidedRightMinX = a1->m_collidedRightMinX;\n  v8 = a2;\n  if ( m_collidedRightMinX != 0.0 )\n    v8 = fmin(m_collidedRightMinX, v8);\n  a1->m_collidedRightMinX = v8;\n  if ( m_uniqueID )\n  {\n    if ( m_uniqueID != a1->m_lastCollisionRight )\n    {\n      a1->m_lastCollisionRight = m_uniqueID;\n      m_collisionLogRight = a1->m_collisionLogRight;\n      if ( m_collisionLogRight )\n        cocos2d::CCDictionary::setObject(m_collisionLogRight, a1->m_maybeLastGroundObject, m_uniqueID);\n    }\n    a1->m_collidingWithRight = a3;\n    a1->m_collidingWithLeft = nullptr;\n  }\n}", "assembly": "; \n; PlayerObject::updateCollideRight from 0x1403942a0 to 0x140394337 (151 bytes)\n; \n; 3 xrefs:\n; > PlayerObject::collidedWithObjectInternal @ 0x1403934ae\n; > PlayerObject::updateCollide @ 0x140394077\n; > <???> @ 0x1406d62cc\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     [rsp+arg_0], rbx                                               ; +0x0, 0x1403942a0\npush    rdi                                                            ; +0x5, 0x1403942a5\nsub     rsp, 20h                                                       ; +0x6, 0x1403942a6\nmov     rdi, r8                                                        ; +0xa, 0x1403942aa\nmovaps  xmm0, xmm1                                                     ; +0xd, 0x1403942ad\nmov     rbx, rcx                                                       ; +0x10, 0x1403942b0\ntest    r8, r8                                                         ; +0x13, 0x1403942b3\njz      short loc_1403942C1                                            ; +0x16, 0x1403942b6\nmov     eax, [r8+39Ch]                                                 ; +0x18, 0x1403942b8\njmp     short loc_1403942C3                                            ; +0x1f, 0x1403942bf\nxor     eax, eax                                                       ; +0x21, 0x1403942c1\nmovsd   xmm1, qword ptr [rcx+970h]                                     ; +0x23, 0x1403942c3\nxorps   xmm2, xmm2                                                     ; +0x2b, 0x1403942cb\ncvtss2sd xmm2, xmm0                                                    ; +0x2e, 0x1403942ce\nxorps   xmm0, xmm0                                                     ; +0x32, 0x1403942d2\nucomisd xmm1, xmm0                                                     ; +0x35, 0x1403942d5\njp      short loc_1403942DD                                            ; +0x39, 0x1403942d9\njz      short loc_1403942E4                                            ; +0x3b, 0x1403942db\nminsd   xmm1, xmm2                                                     ; +0x3d, 0x1403942dd\nmovaps  xmm2, xmm1                                                     ; +0x41, 0x1403942e1\nmovsd   qword ptr [rcx+970h], xmm2                                     ; +0x44, 0x1403942e4\ntest    eax, eax                                                       ; +0x4c, 0x1403942ec\njz      short loc_14039432C                                            ; +0x4e, 0x1403942ee\ncmp     eax, [rcx+5DCh]                                                ; +0x50, 0x1403942f0\njz      short loc_14039431A                                            ; +0x56, 0x1403942f6\nmov     [rcx+5DCh], eax                                                ; +0x58, 0x1403942f8\nmov     rcx, [rcx+5C8h]                                                ; +0x5e, 0x1403942fe\ntest    rcx, rcx                                                       ; +0x65, 0x140394305\njz      short loc_14039431A                                            ; +0x68, 0x140394308\nmov     rdx, [rbx+5A8h]                                                ; +0x6a, 0x14039430a\nmovsxd  r8, eax                                                        ; +0x71, 0x140394311\ncall    cs:?setObject@CCDictionary@cocos2d@@QEAAXPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,__int64) ; +0x74, 0x140394314\nmov     [rbx+618h], rdi                                                ; +0x7a, 0x14039431a\nmov     qword ptr [rbx+610h], 0                                        ; +0x81, 0x140394321\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x8c, 0x14039432c\nadd     rsp, 20h                                                       ; +0x91, 0x140394331\npop     rdi                                                            ; +0x95, 0x140394335\nretn                                                                   ; +0x96, 0x140394336", "xrefs": ["PlayerObject::collidedWithObjectInternal @ 0x1403934ae", "PlayerObject::updateCollide @ 0x140394077", "<???> @ 0x1406d62cc"], "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"}