{"type": "func", "start": 5370904928, "end": 5370905019, "name": "GJBaseGameLayer::reverseDirection", "pseudocode": "// \n// GJBaseGameLayer::reverseDirection from 0x140218160 to 0x1402181bb (91 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x140567080\n// > <???> @ 0x1405863d8\n// > <???> @ 0x1405c9c68\n// > <???> @ 0x1406cd20c\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::reverseDirection(GJBaseGameLayer *a1, EffectGameObject *a2)\n{\n  PlayerObject *m_player1; // rcx\n  PlayerObject *m_player2; // rcx\n\n  m_player1 = a1->m_player1;\n  if ( !m_player1->m_isPlatformer )\n    PlayerObject::doReversePlayer(m_player1, !m_player1->m_isGoingLeft);\n  if ( a1->m_gameState.m_isDualMode )\n  {\n    m_player2 = a1->m_player2;\n    if ( !m_player2->m_isPlatformer )\n      PlayerObject::doReversePlayer(m_player2, !m_player2->m_isGoingLeft);\n  }\n}", "assembly": "; \n; GJBaseGameLayer::reverseDirection from 0x140218160 to 0x1402181bb (91 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x140567080\n; > <???> @ 0x1405863d8\n; > <???> @ 0x1405c9c68\n; > <???> @ 0x1406cd20c\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\npush    rbx                                                            ; +0x0, 0x140218160\nsub     rsp, 20h                                                       ; +0x2, 0x140218162\nmov     rbx, rcx                                                       ; +0x6, 0x140218166\nmov     rcx, [rcx+0DA0h]                                               ; +0x9, 0x140218169\ncmp     byte ptr [rcx+0B70h], 0                                        ; +0x10, 0x140218170\njnz     short loc_140218188                                            ; +0x17, 0x140218177\ncmp     byte ptr [rcx+9C2h], 0                                         ; +0x19, 0x140218179\nsetz    dl                                                             ; +0x20, 0x140218180\ncall    PlayerObject__doReversePlayer                                  ; +0x23, 0x140218183\ncmp     byte ptr [rbx+422h], 0                                         ; +0x28, 0x140218188\njz      short loc_1402181B5                                            ; +0x2f, 0x14021818f\nmov     rcx, [rbx+0DA8h]                                               ; +0x31, 0x140218191\ncmp     byte ptr [rcx+0B70h], 0                                        ; +0x38, 0x140218198\njnz     short loc_1402181B5                                            ; +0x3f, 0x14021819f\ncmp     byte ptr [rcx+9C2h], 0                                         ; +0x41, 0x1402181a1\nsetz    dl                                                             ; +0x48, 0x1402181a8\nadd     rsp, 20h                                                       ; +0x4b, 0x1402181ab\npop     rbx                                                            ; +0x4f, 0x1402181af\njmp     PlayerObject__doReversePlayer                                  ; +0x50, 0x1402181b0\nadd     rsp, 20h                                                       ; +0x55, 0x1402181b5\npop     rbx                                                            ; +0x59, 0x1402181b9\nretn                                                                   ; +0x5a, 0x1402181ba", "xrefs": ["<???> @ 0x140567080", "<???> @ 0x1405863d8", "<???> @ 0x1405c9c68", "<???> @ 0x1406cd20c"], "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"}