{"type": "func", "start": 5371095552, "end": 5371095731, "name": "GJBaseGameLayer::flipObjects", "pseudocode": "// \n// GJBaseGameLayer::flipObjects from 0x140246a00 to 0x140246ab3 (179 bytes)\n// \n// 3 xrefs:\n// > GJBaseGameLayer::visit @ 0x14024707a\n// > GJBaseGameLayer::visit @ 0x1402482a2\n// > <???> @ 0x1406ce6b8\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; // rcx\n  PlayerObject_vtbl *v3; // rbx\n  PlayerObject *v4; // rcx\n  PlayerObject_vtbl *v5; // rbx\n  PlayerObject *m_player2; // rcx\n  PlayerObject_vtbl *v7; // rbx\n  PlayerObject *v8; // rcx\n  PlayerObject_vtbl *v9; // rbx\n\n  m_player1 = a1->m_player1;\n  v3 = m_player1->GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  m_player1->getScaleX(m_player1);\n  ((void (__fastcall *)(PlayerObject *))v3->setScaleX)(a1->m_player1);\n  v4 = a1->m_player1;\n  v5 = v4->GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  v4->getRotation(v4);\n  ((void (__fastcall *)(PlayerObject *))v5->setRotation)(a1->m_player1);\n  m_player2 = a1->m_player2;\n  v7 = m_player2->GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  m_player2->getScaleX(m_player2);\n  ((void (__fastcall *)(PlayerObject *))v7->setScaleX)(a1->m_player2);\n  v8 = a1->m_player2;\n  v9 = v8->GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  v8->getRotation(v8);\n  ((void (__fastcall *)(PlayerObject *))v9->setRotation)(a1->m_player2);\n}", "assembly": "; \n; GJBaseGameLayer::flipObjects from 0x140246a00 to 0x140246ab3 (179 bytes)\n; \n; 3 xrefs:\n; > GJBaseGameLayer::visit @ 0x14024707a\n; > GJBaseGameLayer::visit @ 0x1402482a2\n; > <???> @ 0x1406ce6b8\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140246a00\npush    rdi                                                            ; +0x5, 0x140246a05\nsub     rsp, 30h                                                       ; +0x6, 0x140246a06\nmov     rdi, rcx                                                       ; +0xa, 0x140246a0a\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0xd, 0x140246a0d\nmov     rcx, [rcx+0DA0h]                                               ; +0x12, 0x140246a12\nmov     rbx, [rcx]                                                     ; +0x19, 0x140246a19\ncall    qword ptr [rbx+80h]                                            ; +0x1c, 0x140246a1c\nmovss   xmm6, dword ptr cs:xmmword_1406243F0                           ; +0x22, 0x140246a22\nmov     rcx, [rdi+0DA0h]                                               ; +0x2a, 0x140246a2a\nxorps   xmm0, xmm6                                                     ; +0x31, 0x140246a31\nmovaps  xmm1, xmm0                                                     ; +0x34, 0x140246a34\ncall    qword ptr [rbx+78h]                                            ; +0x37, 0x140246a37\nmov     rcx, [rdi+0DA0h]                                               ; +0x3a, 0x140246a3a\nmov     rbx, [rcx]                                                     ; +0x41, 0x140246a41\ncall    qword ptr [rbx+158h]                                           ; +0x44, 0x140246a44\nmov     rcx, [rdi+0DA0h]                                               ; +0x4a, 0x140246a4a\nxorps   xmm0, xmm6                                                     ; +0x51, 0x140246a51\nmovaps  xmm1, xmm0                                                     ; +0x54, 0x140246a54\ncall    qword ptr [rbx+150h]                                           ; +0x57, 0x140246a57\nmov     rcx, [rdi+0DA8h]                                               ; +0x5d, 0x140246a5d\nmov     rbx, [rcx]                                                     ; +0x64, 0x140246a64\ncall    qword ptr [rbx+80h]                                            ; +0x67, 0x140246a67\nmov     rcx, [rdi+0DA8h]                                               ; +0x6d, 0x140246a6d\nxorps   xmm0, xmm6                                                     ; +0x74, 0x140246a74\nmovaps  xmm1, xmm0                                                     ; +0x77, 0x140246a77\ncall    qword ptr [rbx+78h]                                            ; +0x7a, 0x140246a7a\nmov     rcx, [rdi+0DA8h]                                               ; +0x7d, 0x140246a7d\nmov     rbx, [rcx]                                                     ; +0x84, 0x140246a84\ncall    qword ptr [rbx+158h]                                           ; +0x87, 0x140246a87\nmov     rcx, [rdi+0DA8h]                                               ; +0x8d, 0x140246a8d\nxorps   xmm0, xmm6                                                     ; +0x94, 0x140246a94\nmovaps  xmm1, xmm0                                                     ; +0x97, 0x140246a97\nmov     rax, [rbx+150h]                                                ; +0x9a, 0x140246a9a\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xa1, 0x140246aa1\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0xa6, 0x140246aa6\nadd     rsp, 30h                                                       ; +0xab, 0x140246aab\npop     rdi                                                            ; +0xaf, 0x140246aaf\njmp     rax                                                            ; +0xb0, 0x140246ab0", "xrefs": ["GJBaseGameLayer::visit @ 0x14024707a", "GJBaseGameLayer::visit @ 0x1402482a2", "<???> @ 0x1406ce6b8"], "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"}