{"type": "func", "start": 5372461568, "end": 5372461719, "name": "PlayerObject::updateCollideLeft", "pseudocode": "// \n// PlayerObject::updateCollideLeft from 0x140394200 to 0x140394297 (151 bytes)\n// \n// 4 xrefs:\n// > PlayerObject::collidedWithObjectInternal @ 0x140393572\n// > PlayerObject::updateCollide @ 0x14039409b\n// > <???> @ 0x1406d62b4\n// > <???> @ 0x1406d62c0\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::updateCollideLeft(PlayerObject *a1, float a2, GameObject *a3)\n{\n  int m_uniqueID; // eax\n  double m_collidedLeftMaxX; // xmm1_8\n  double v8; // xmm2_8\n  cocos2d::CCDictionary *m_collisionLogLeft; // rcx\n\n  if ( a3 )\n    m_uniqueID = a3->m_uniqueID;\n  else\n    m_uniqueID = 0;\n  m_collidedLeftMaxX = a1->m_collidedLeftMaxX;\n  v8 = a2;\n  if ( m_collidedLeftMaxX != 0.0 )\n    v8 = fmax(m_collidedLeftMaxX, v8);\n  a1->m_collidedLeftMaxX = v8;\n  if ( m_uniqueID )\n  {\n    if ( m_uniqueID != a1->m_lastCollisionLeft )\n    {\n      a1->m_lastCollisionLeft = m_uniqueID;\n      m_collisionLogLeft = a1->m_collisionLogLeft;\n      if ( m_collisionLogLeft )\n        cocos2d::CCDictionary::setObject(m_collisionLogLeft, a1->m_maybeLastGroundObject, m_uniqueID);\n    }\n    a1->m_collidingWithLeft = a3;\n    a1->m_collidingWithRight = nullptr;\n  }\n}", "assembly": "; \n; PlayerObject::updateCollideLeft from 0x140394200 to 0x140394297 (151 bytes)\n; \n; 4 xrefs:\n; > PlayerObject::collidedWithObjectInternal @ 0x140393572\n; > PlayerObject::updateCollide @ 0x14039409b\n; > <???> @ 0x1406d62b4\n; > <???> @ 0x1406d62c0\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, 0x140394200\npush    rdi                                                            ; +0x5, 0x140394205\nsub     rsp, 20h                                                       ; +0x6, 0x140394206\nmov     rdi, r8                                                        ; +0xa, 0x14039420a\nmovaps  xmm0, xmm1                                                     ; +0xd, 0x14039420d\nmov     rbx, rcx                                                       ; +0x10, 0x140394210\ntest    r8, r8                                                         ; +0x13, 0x140394213\njz      short loc_140394221                                            ; +0x16, 0x140394216\nmov     eax, [r8+39Ch]                                                 ; +0x18, 0x140394218\njmp     short loc_140394223                                            ; +0x1f, 0x14039421f\nxor     eax, eax                                                       ; +0x21, 0x140394221\nmovsd   xmm1, qword ptr [rcx+968h]                                     ; +0x23, 0x140394223\nxorps   xmm2, xmm2                                                     ; +0x2b, 0x14039422b\ncvtss2sd xmm2, xmm0                                                    ; +0x2e, 0x14039422e\nxorps   xmm0, xmm0                                                     ; +0x32, 0x140394232\nucomisd xmm1, xmm0                                                     ; +0x35, 0x140394235\njp      short loc_14039423D                                            ; +0x39, 0x140394239\njz      short loc_140394244                                            ; +0x3b, 0x14039423b\nmaxsd   xmm1, xmm2                                                     ; +0x3d, 0x14039423d\nmovaps  xmm2, xmm1                                                     ; +0x41, 0x140394241\nmovsd   qword ptr [rcx+968h], xmm2                                     ; +0x44, 0x140394244\ntest    eax, eax                                                       ; +0x4c, 0x14039424c\njz      short loc_14039428C                                            ; +0x4e, 0x14039424e\ncmp     eax, [rcx+5D8h]                                                ; +0x50, 0x140394250\njz      short loc_14039427A                                            ; +0x56, 0x140394256\nmov     [rcx+5D8h], eax                                                ; +0x58, 0x140394258\nmov     rcx, [rcx+5C0h]                                                ; +0x5e, 0x14039425e\ntest    rcx, rcx                                                       ; +0x65, 0x140394265\njz      short loc_14039427A                                            ; +0x68, 0x140394268\nmov     rdx, [rbx+5A8h]                                                ; +0x6a, 0x14039426a\nmovsxd  r8, eax                                                        ; +0x71, 0x140394271\ncall    cs:?setObject@CCDictionary@cocos2d@@QEAAXPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,__int64) ; +0x74, 0x140394274\nmov     [rbx+610h], rdi                                                ; +0x7a, 0x14039427a\nmov     qword ptr [rbx+618h], 0                                        ; +0x81, 0x140394281\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x8c, 0x14039428c\nadd     rsp, 20h                                                       ; +0x91, 0x140394291\npop     rdi                                                            ; +0x95, 0x140394295\nretn                                                                   ; +0x96, 0x140394296", "xrefs": ["PlayerObject::collidedWithObjectInternal @ 0x140393572", "PlayerObject::updateCollide @ 0x14039409b", "<???> @ 0x1406d62b4", "<???> @ 0x1406d62c0"], "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"}