{"type": "func", "start": 4691376, "end": 4691482, "name": "GJBaseGameLayer::flipObjects", "pseudocode": "// \n// GJBaseGameLayer::flipObjects from 0x4795b0 to 0x47961a (106 bytes)\n// \n// 2 xrefs:\n// > GJBaseGameLayer::visit @ 0x479b8a\n// > GJBaseGameLayer::visit @ 0x47a61e\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; // r5\n  void (__fastcall *setScaleX)(PlayerObject *__hidden, float); // r6\n  int v4; // r0\n  PlayerObject *v5; // r5\n  void (__fastcall *setRotation)(PlayerObject *__hidden, float); // r6\n  int v7; // r0\n  PlayerObject *m_player2; // r5\n  void (__fastcall *v9)(PlayerObject *__hidden, float); // r6\n  int v10; // r0\n  PlayerObject *v11; // r4\n  void (__fastcall *v12)(PlayerObject *__hidden, float); // r5\n  int v13; // r0\n\n  m_player1 = a1->m_player1;\n  setScaleX = m_player1->setScaleX;\n  v4 = ((int (__fastcall *)(PlayerObject *))m_player1->getScaleX)(m_player1);\n  ((void (__fastcall *)(PlayerObject *, unsigned int))setScaleX)(m_player1, v4 ^ 0x80000000);\n  v5 = a1->m_player1;\n  setRotation = v5->setRotation;\n  v7 = ((int (__fastcall *)(PlayerObject *))v5->getRotation)(v5);\n  ((void (__fastcall *)(PlayerObject *, unsigned int))setRotation)(v5, v7 ^ 0x80000000);\n  m_player2 = a1->m_player2;\n  v9 = m_player2->setScaleX;\n  v10 = ((int (__fastcall *)(PlayerObject *))m_player2->getScaleX)(m_player2);\n  ((void (__fastcall *)(PlayerObject *, unsigned int))v9)(m_player2, v10 ^ 0x80000000);\n  v11 = a1->m_player2;\n  v12 = v11->setRotation;\n  v13 = ((int (__fastcall *)(PlayerObject *))v11->getRotation)(v11);\n  ((void (__fastcall *)(PlayerObject *, unsigned int))v12)(v11, v13 ^ 0x80000000);\n}", "assembly": "; \n; GJBaseGameLayer::flipObjects from 0x4795b0 to 0x47961a (106 bytes)\n; \n; 2 xrefs:\n; > GJBaseGameLayer::visit @ 0x479b8a\n; > GJBaseGameLayer::visit @ 0x47a61e\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            {R4-R6,LR}                                             ; +0x0, 0x4795b0\nMOV             R4, R0                                                 ; +0x2, 0x4795b2\nLDR.W           R5, [R0,#0x8B8]                                        ; +0x4, 0x4795b4\nLDR             R3, [R5]                                               ; +0x8, 0x4795b8\nMOV             R0, R5                                                 ; +0xa, 0x4795ba\nLDR             R6, [R3,#0x40]                                         ; +0xc, 0x4795bc\nLDR             R3, [R3,#0x44]                                         ; +0xe, 0x4795be\nBLX             R3                                                     ; +0x10, 0x4795c0\nEOR.W           R1, R0, #0x80000000                                    ; +0x12, 0x4795c2\nMOV             R0, R5                                                 ; +0x16, 0x4795c6\nBLX             R6                                                     ; +0x18, 0x4795c8\nLDR.W           R5, [R4,#0x8B8]                                        ; +0x1a, 0x4795ca\nLDR             R3, [R5]                                               ; +0x1e, 0x4795ce\nMOV             R0, R5                                                 ; +0x20, 0x4795d0\nLDR.W           R6, [R3,#0xAC]                                         ; +0x22, 0x4795d2\nLDR.W           R3, [R3,#0xB0]                                         ; +0x26, 0x4795d6\nBLX             R3                                                     ; +0x2a, 0x4795da\nEOR.W           R1, R0, #0x80000000                                    ; +0x2c, 0x4795dc\nMOV             R0, R5                                                 ; +0x30, 0x4795e0\nBLX             R6                                                     ; +0x32, 0x4795e2\nLDR.W           R5, [R4,#0x8BC]                                        ; +0x34, 0x4795e4\nLDR             R3, [R5]                                               ; +0x38, 0x4795e8\nMOV             R0, R5                                                 ; +0x3a, 0x4795ea\nLDR             R6, [R3,#0x40]                                         ; +0x3c, 0x4795ec\nLDR             R3, [R3,#0x44]                                         ; +0x3e, 0x4795ee\nBLX             R3                                                     ; +0x40, 0x4795f0\nEOR.W           R1, R0, #0x80000000                                    ; +0x42, 0x4795f2\nMOV             R0, R5                                                 ; +0x46, 0x4795f6\nBLX             R6                                                     ; +0x48, 0x4795f8\nLDR.W           R4, [R4,#0x8BC]                                        ; +0x4a, 0x4795fa\nLDR             R3, [R4]                                               ; +0x4e, 0x4795fe\nMOV             R0, R4                                                 ; +0x50, 0x479600\nLDR.W           R5, [R3,#0xAC]                                         ; +0x52, 0x479602\nLDR.W           R3, [R3,#0xB0]                                         ; +0x56, 0x479606\nBLX             R3                                                     ; +0x5a, 0x47960a\nMOV             R3, R5                                                 ; +0x5c, 0x47960c\nEOR.W           R1, R0, #0x80000000                                    ; +0x5e, 0x47960e\nMOV             R0, R4                                                 ; +0x62, 0x479612\nPOP.W           {R4-R6,LR}                                             ; +0x64, 0x479614\nBX              R3                                                     ; +0x68, 0x479618", "xrefs": ["GJBaseGameLayer::visit @ 0x479b8a", "GJBaseGameLayer::visit @ 0x47a61e"], "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"}