{"type": "func", "start": 8823972, "end": 8824152, "name": "GJBaseGameLayer::flipObjects", "pseudocode": "// \n// GJBaseGameLayer::flipObjects from 0x86a4a4 to 0x86a558 (180 bytes)\n// \n// 3 xrefs:\n// > GJBaseGameLayer::visit @ 0x86b6fc\n// > GJBaseGameLayer::visit @ 0x86bb9c\n// > <???> @ 0x4d5f8\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::flipObjects(GJBaseGameLayer *a1)\n{\n  PlayerObject *m_player1; // x20\n  void (__fastcall *setScaleX)(PlayerObject *__hidden, float); // x21\n  float v4; // s0\n  PlayerObject *v5; // x20\n  void (__fastcall *setRotation)(PlayerObject *__hidden, float); // x21\n  float v7; // s0\n  PlayerObject *m_player2; // x20\n  void (__fastcall *v9)(PlayerObject *__hidden, float); // x21\n  float v10; // s0\n  PlayerObject *v11; // x19\n  void (__fastcall *v12)(PlayerObject *__hidden, float); // x20\n  float v13; // s0\n\n  m_player1 = a1->m_player1;\n  setScaleX = m_player1->setScaleX;\n  v4 = m_player1->getScaleX(m_player1);\n  setScaleX(m_player1, -v4);\n  v5 = a1->m_player1;\n  setRotation = v5->setRotation;\n  v7 = v5->getRotation(v5);\n  setRotation(v5, -v7);\n  m_player2 = a1->m_player2;\n  v9 = m_player2->setScaleX;\n  v10 = m_player2->getScaleX(m_player2);\n  v9(m_player2, -v10);\n  v11 = a1->m_player2;\n  v12 = v11->setRotation;\n  v13 = v11->getRotation(v11);\n  v12(v11, -v13);\n}", "assembly": "; \n; GJBaseGameLayer::flipObjects from 0x86a4a4 to 0x86a558 (180 bytes)\n; \n; 3 xrefs:\n; > GJBaseGameLayer::visit @ 0x86b6fc\n; > GJBaseGameLayer::visit @ 0x86bb9c\n; > <???> @ 0x4d5f8\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\nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0x86a4a4\nMOV             X29, SP                                                ; +0x4, 0x86a4a8\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0x86a4ac\nLDR             X20, [X0,#0xDF8]                                       ; +0xc, 0x86a4b0\nMOV             X19, X0                                                ; +0x10, 0x86a4b4\nSTR             X21, [SP,#0x30+var_10]                                 ; +0x14, 0x86a4b8\nMOV             X0, X20                                                ; +0x18, 0x86a4bc\nLDR             X1, [X20]                                              ; +0x1c, 0x86a4c0\nLDR             X2, [X1,#0x88]                                         ; +0x20, 0x86a4c4\nLDR             X21, [X1,#0x80]                                        ; +0x24, 0x86a4c8\nBLR             X2                                                     ; +0x28, 0x86a4cc\nFNEG            S0, S0                                                 ; +0x2c, 0x86a4d0\nMOV             X0, X20                                                ; +0x30, 0x86a4d4\nBLR             X21                                                    ; +0x34, 0x86a4d8\nLDR             X20, [X19,#0xDF8]                                      ; +0x38, 0x86a4dc\nMOV             X0, X20                                                ; +0x3c, 0x86a4e0\nLDR             X1, [X20]                                              ; +0x40, 0x86a4e4\nLDR             X2, [X1,#0x160]                                        ; +0x44, 0x86a4e8\nLDR             X21, [X1,#0x158]                                       ; +0x48, 0x86a4ec\nBLR             X2                                                     ; +0x4c, 0x86a4f0\nFNEG            S0, S0                                                 ; +0x50, 0x86a4f4\nMOV             X0, X20                                                ; +0x54, 0x86a4f8\nBLR             X21                                                    ; +0x58, 0x86a4fc\nLDR             X20, [X19,#0xE00]                                      ; +0x5c, 0x86a500\nMOV             X0, X20                                                ; +0x60, 0x86a504\nLDR             X1, [X20]                                              ; +0x64, 0x86a508\nLDR             X2, [X1,#0x88]                                         ; +0x68, 0x86a50c\nLDR             X21, [X1,#0x80]                                        ; +0x6c, 0x86a510\nBLR             X2                                                     ; +0x70, 0x86a514\nFNEG            S0, S0                                                 ; +0x74, 0x86a518\nMOV             X0, X20                                                ; +0x78, 0x86a51c\nBLR             X21                                                    ; +0x7c, 0x86a520\nLDR             X19, [X19,#0xE00]                                      ; +0x80, 0x86a524\nMOV             X0, X19                                                ; +0x84, 0x86a528\nLDR             X1, [X19]                                              ; +0x88, 0x86a52c\nLDR             X2, [X1,#0x160]                                        ; +0x8c, 0x86a530\nLDR             X20, [X1,#0x158]                                       ; +0x90, 0x86a534\nBLR             X2                                                     ; +0x94, 0x86a538\nFNEG            S0, S0                                                 ; +0x98, 0x86a53c\nMOV             X0, X19                                                ; +0x9c, 0x86a540\nBLR             X20                                                    ; +0xa0, 0x86a544\nLDR             X21, [SP,#0x30+var_10]                                 ; +0xa4, 0x86a548\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0xa8, 0x86a54c\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0xac, 0x86a550\nRET                                                                    ; +0xb0, 0x86a554", "xrefs": ["GJBaseGameLayer::visit @ 0x86b6fc", "GJBaseGameLayer::visit @ 0x86bb9c", "<???> @ 0x4d5f8"], "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"}