{"type": "func", "start": 5371984160, "end": 5371984251, "name": "GJBaseGameLayer::reverseDirection", "pseudocode": "// \n// GJBaseGameLayer::reverseDirection from 0x14031f920 to 0x14031f97b (91 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x14076b860\n// > <???> @ 0x14078b2d8\n// > <???> @ 0x1407d5ec0\n// > <???> @ 0x14091ed4c\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:30:22 +0000\n// \n\ndouble __fastcall GJBaseGameLayer::reverseDirection(__int64 a1, __int64 a2)\n{\n  __int64 v3; // rcx\n  double result; // xmm0_8\n  __int64 v5; // rcx\n\n  v3 = *(_QWORD *)(a1 + 3512);\n  if ( !*(_BYTE *)(v3 + 2936) )\n  {\n    LOBYTE(a2) = *(_BYTE *)(v3 + 2506) == 0;\n    result = PlayerObject::doReversePlayer(v3, a2);\n  }\n  if ( *(_BYTE *)(a1 + 1058) )\n  {\n    v5 = *(_QWORD *)(a1 + 3520);\n    if ( !*(_BYTE *)(v5 + 2936) )\n    {\n      LOBYTE(a2) = *(_BYTE *)(v5 + 2506) == 0;\n      return PlayerObject::doReversePlayer(v5, a2);\n    }\n  }\n  return result;\n}", "assembly": "; \n; GJBaseGameLayer::reverseDirection from 0x14031f920 to 0x14031f97b (91 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x14076b860\n; > <???> @ 0x14078b2d8\n; > <???> @ 0x1407d5ec0\n; > <???> @ 0x14091ed4c\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:30:22 +0000\n; \npush    rbx                                                            ; +0x0, 0x14031f920\nsub     rsp, 20h                                                       ; +0x2, 0x14031f922\nmov     rbx, rcx                                                       ; +0x6, 0x14031f926\nmov     rcx, [rcx+0DB8h]                                               ; +0x9, 0x14031f929\ncmp     byte ptr [rcx+0B78h], 0                                        ; +0x10, 0x14031f930\njnz     short loc_14031F948                                            ; +0x17, 0x14031f937\ncmp     byte ptr [rcx+9CAh], 0                                         ; +0x19, 0x14031f939\nsetz    dl                                                             ; +0x20, 0x14031f940\ncall    PlayerObject__doReversePlayer                                  ; +0x23, 0x14031f943\ncmp     byte ptr [rbx+422h], 0                                         ; +0x28, 0x14031f948\njz      short loc_14031F975                                            ; +0x2f, 0x14031f94f\nmov     rcx, [rbx+0DC0h]                                               ; +0x31, 0x14031f951\ncmp     byte ptr [rcx+0B78h], 0                                        ; +0x38, 0x14031f958\njnz     short loc_14031F975                                            ; +0x3f, 0x14031f95f\ncmp     byte ptr [rcx+9CAh], 0                                         ; +0x41, 0x14031f961\nsetz    dl                                                             ; +0x48, 0x14031f968\nadd     rsp, 20h                                                       ; +0x4b, 0x14031f96b\npop     rbx                                                            ; +0x4f, 0x14031f96f\njmp     PlayerObject__doReversePlayer                                  ; +0x50, 0x14031f970\nadd     rsp, 20h                                                       ; +0x55, 0x14031f975\npop     rbx                                                            ; +0x59, 0x14031f979\nretn                                                                   ; +0x5a, 0x14031f97a", "xrefs": ["<???> @ 0x14076b860", "<???> @ 0x14078b2d8", "<???> @ 0x1407d5ec0", "<???> @ 0x14091ed4c"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}