{"type": "func", "start": 4297614508, "end": 4297614580, "name": "GJBaseGameLayer::reverseDirection", "pseudocode": "// \n// GJBaseGameLayer::reverseDirection from 0x1002864ac to 0x1002864f4 (72 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1008df9b0\n// > <???> @ 0x100919038\n// > <???> @ 0x10094c560\n// \n// This function is hookable on this platform (idp: arm, 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:01:58 +0000\n// \n\n__int64 __fastcall GJBaseGameLayer::reverseDirection(__int64 a1)\n{\n  __int64 result; // x0\n\n  result = PlayerObject::reversePlayer(*(_QWORD *)(a1 + 3256), 0);\n  if ( *(_BYTE *)(a1 + 1010) == 1 )\n    return PlayerObject::reversePlayer(*(_QWORD *)(a1 + 3264), 0);\n  return result;\n}", "assembly": "; \n; GJBaseGameLayer::reverseDirection from 0x1002864ac to 0x1002864f4 (72 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1008df9b0\n; > <???> @ 0x100919038\n; > <???> @ 0x10094c560\n; \n; This function is hookable on this platform (idp: arm, 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:01:58 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1002864ac\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1002864b0\nADD             X29, SP, #0x10                                         ; +0x8, 0x1002864b4\nMOV             X19, X0                                                ; +0xc, 0x1002864b8\nLDR             X0, [X0,#0xCB8]                                        ; +0x10, 0x1002864bc\nMOV             X1, #0                                                 ; +0x14, 0x1002864c0\nBL              PlayerObject__reversePlayer                            ; +0x18, 0x1002864c4\nLDRB            W8, [X19,#0x3F2]                                       ; +0x1c, 0x1002864c8\nCMP             W8, #1                                                 ; +0x20, 0x1002864cc\nB.NE            loc_1002864E8                                          ; +0x24, 0x1002864d0\nLDR             X0, [X19,#0xCC0]                                       ; +0x28, 0x1002864d4\nMOV             X1, #0                                                 ; +0x2c, 0x1002864d8\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x30, 0x1002864dc\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x34, 0x1002864e0\nB               PlayerObject__reversePlayer                            ; +0x38, 0x1002864e4\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x3c, 0x1002864e8\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x40, 0x1002864ec\nRET                                                                    ; +0x44, 0x1002864f0", "xrefs": ["<???> @ 0x1008df9b0", "<???> @ 0x100919038", "<???> @ 0x10094c560"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}