{"type": "func", "start": 5371721920, "end": 5371722022, "name": "LevelEditorLayer::didRotateGameplay", "pseudocode": "// \n// LevelEditorLayer::didRotateGameplay from 0x1402df8c0 to 0x1402df926 (102 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1405863e8\n// > <???> @ 0x1406d353c\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 LevelEditorLayer::didRotateGameplay(LevelEditorLayer *a1)\n{\n  __int64 v2; // rax\n  std::_Vector_val<std::_Simple_types<cocos2d::CCPoint>>::pointer Mylast; // rcx\n  cocos2d::CCPoint v4; // [rsp+30h] [rbp+8h] BYREF\n\n  a1->m_player1->getPosition_0(a1->m_player1);\n  cocos2d::CCPoint::CCPoint(&v4);\n  Mylast = a1->m_touchPoints._Mypair._Myval2._Mylast;\n  if ( Mylast == a1->m_touchPoints._Mypair._Myval2._Myend )\n  {\n    sub_1402F2C90(&a1->m_touchPoints, a1->m_touchPoints._Mypair._Myval2._Mylast, v2);\n  }\n  else\n  {\n    cocos2d::CCPoint::CCPoint(Mylast);\n    ++a1->m_touchPoints._Mypair._Myval2._Mylast;\n  }\n}", "assembly": "; \n; LevelEditorLayer::didRotateGameplay from 0x1402df8c0 to 0x1402df926 (102 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1405863e8\n; > <???> @ 0x1406d353c\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    rbx                                                            ; +0x0, 0x1402df8c0\nsub     rsp, 20h                                                       ; +0x2, 0x1402df8c2\nmov     rbx, rcx                                                       ; +0x6, 0x1402df8c6\nmov     rcx, [rcx+0DA0h]                                               ; +0x9, 0x1402df8c9\nmov     rax, [rcx]                                                     ; +0x10, 0x1402df8d0\ncall    qword ptr [rax+0C8h]                                           ; +0x13, 0x1402df8d3\nmov     rdx, rax                                                       ; +0x19, 0x1402df8d9\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x1c, 0x1402df8dc\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x21, 0x1402df8e1\nmov     rcx, [rbx+3980h]                                               ; +0x27, 0x1402df8e7\ncmp     rcx, [rbx+3988h]                                               ; +0x2e, 0x1402df8ee\njz      short loc_1402DF90E                                            ; +0x35, 0x1402df8f5\nmov     rdx, rax                                                       ; +0x37, 0x1402df8f7\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x3a, 0x1402df8fa\nadd     qword ptr [rbx+3980h], 8                                       ; +0x40, 0x1402df900\nadd     rsp, 20h                                                       ; +0x48, 0x1402df908\npop     rbx                                                            ; +0x4c, 0x1402df90c\nretn                                                                   ; +0x4d, 0x1402df90d\nmov     rdx, rcx                                                       ; +0x4e, 0x1402df90e\nmov     r8, rax                                                        ; +0x51, 0x1402df911\nlea     rcx, [rbx+3978h]                                               ; +0x54, 0x1402df914\ncall    sub_1402F2C90                                                  ; +0x5b, 0x1402df91b\nadd     rsp, 20h                                                       ; +0x60, 0x1402df920\npop     rbx                                                            ; +0x64, 0x1402df924\nretn                                                                   ; +0x65, 0x1402df925", "xrefs": ["<???> @ 0x1405863e8", "<???> @ 0x1406d353c"], "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"}