{"type": "func", "start": 4297096676, "end": 4297096860, "name": "GJBaseGameLayer::flipObjects", "pseudocode": "// \n// GJBaseGameLayer::flipObjects from 0x100207de4 to 0x100207e9c (184 bytes)\n// \n// 2 xrefs:\n// > GJBaseGameLayer::visit @ 0x100208160\n// > GJBaseGameLayer::visit @ 0x100208e98\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 __fastcall GJBaseGameLayer::flipObjects(GJBaseGameLayer *a1)\n{\n  PlayerObject *m_player1; // x20\n  float v3; // s0\n  PlayerObject *v4; // x20\n  float v5; // s0\n  PlayerObject *m_player2; // x20\n  float v7; // s0\n  PlayerObject *v8; // x19\n  float v9; // s0\n\n  m_player1 = a1->m_player1;\n  v3 = ((float (__fastcall *)(PlayerObject *))m_player1->getScaleX)(m_player1);\n  ((void (__fastcall *)(PlayerObject *, float))m_player1->setScaleX)(m_player1, -v3);\n  v4 = a1->m_player1;\n  v5 = ((float (__fastcall *)(PlayerObject *))v4->getRotation)(v4);\n  ((void (__fastcall *)(PlayerObject *, float))v4->setRotation)(v4, -v5);\n  m_player2 = a1->m_player2;\n  v7 = ((float (__fastcall *)(PlayerObject *))m_player2->getScaleX)(m_player2);\n  ((void (__fastcall *)(PlayerObject *, float))m_player2->setScaleX)(m_player2, -v7);\n  v8 = a1->m_player2;\n  v9 = ((float (__fastcall *)(PlayerObject *))v8->getRotation)(v8);\n  ((void (__fastcall *)(PlayerObject *, float))v8->setRotation)(v8, -v9);\n}", "assembly": "; \n; GJBaseGameLayer::flipObjects from 0x100207de4 to 0x100207e9c (184 bytes)\n; \n; 2 xrefs:\n; > GJBaseGameLayer::visit @ 0x100208160\n; > GJBaseGameLayer::visit @ 0x100208e98\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             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100207de4\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100207de8\nADD             X29, SP, #0x10                                         ; +0x8, 0x100207dec\nMOV             X19, X0                                                ; +0xc, 0x100207df0\nLDR             X20, [X0,#0xCC8]                                       ; +0x10, 0x100207df4\nLDR             X8, [X20]                                              ; +0x14, 0x100207df8\nLDR             X8, [X8,#0x88]                                         ; +0x18, 0x100207dfc\nMOV             X0, X20                                                ; +0x1c, 0x100207e00\nBLR             X8                                                     ; +0x20, 0x100207e04\nFNEG            S0, S0                                                 ; +0x24, 0x100207e08\nLDR             X8, [X20]                                              ; +0x28, 0x100207e0c\nLDR             X8, [X8,#0x80]                                         ; +0x2c, 0x100207e10\nMOV             X0, X20                                                ; +0x30, 0x100207e14\nBLR             X8                                                     ; +0x34, 0x100207e18\nLDR             X20, [X19,#0xCC8]                                      ; +0x38, 0x100207e1c\nLDR             X8, [X20]                                              ; +0x3c, 0x100207e20\nLDR             X8, [X8,#0x160]                                        ; +0x40, 0x100207e24\nMOV             X0, X20                                                ; +0x44, 0x100207e28\nBLR             X8                                                     ; +0x48, 0x100207e2c\nFNEG            S0, S0                                                 ; +0x4c, 0x100207e30\nLDR             X8, [X20]                                              ; +0x50, 0x100207e34\nLDR             X8, [X8,#0x158]                                        ; +0x54, 0x100207e38\nMOV             X0, X20                                                ; +0x58, 0x100207e3c\nBLR             X8                                                     ; +0x5c, 0x100207e40\nLDR             X20, [X19,#0xCD0]                                      ; +0x60, 0x100207e44\nLDR             X8, [X20]                                              ; +0x64, 0x100207e48\nLDR             X8, [X8,#0x88]                                         ; +0x68, 0x100207e4c\nMOV             X0, X20                                                ; +0x6c, 0x100207e50\nBLR             X8                                                     ; +0x70, 0x100207e54\nFNEG            S0, S0                                                 ; +0x74, 0x100207e58\nLDR             X8, [X20]                                              ; +0x78, 0x100207e5c\nLDR             X8, [X8,#0x80]                                         ; +0x7c, 0x100207e60\nMOV             X0, X20                                                ; +0x80, 0x100207e64\nBLR             X8                                                     ; +0x84, 0x100207e68\nLDR             X19, [X19,#0xCD0]                                      ; +0x88, 0x100207e6c\nLDR             X8, [X19]                                              ; +0x8c, 0x100207e70\nLDR             X8, [X8,#0x160]                                        ; +0x90, 0x100207e74\nMOV             X0, X19                                                ; +0x94, 0x100207e78\nBLR             X8                                                     ; +0x98, 0x100207e7c\nFNEG            S0, S0                                                 ; +0x9c, 0x100207e80\nLDR             X8, [X19]                                              ; +0xa0, 0x100207e84\nLDR             X1, [X8,#0x158]                                        ; +0xa4, 0x100207e88\nMOV             X0, X19                                                ; +0xa8, 0x100207e8c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0xac, 0x100207e90\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0xb0, 0x100207e94\nBR              X1                                                     ; +0xb4, 0x100207e98", "xrefs": ["GJBaseGameLayer::visit @ 0x100208160", "GJBaseGameLayer::visit @ 0x100208e98"], "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"}