{"type": "func", "start": 5372896240, "end": 5372896342, "name": "LevelEditorLayer::didRotateGameplay", "pseudocode": "// \n// LevelEditorLayer::didRotateGameplay from 0x1403fe3f0 to 0x1403fe456 (102 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14078b2e8\n// > <???> @ 0x1409258ec\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:31:53 +0000\n// \n\nvoid __fastcall LevelEditorLayer::didRotateGameplay(__int64 a1)\n{\n  const struct cocos2d::CCPoint *v2; // rax\n  const struct cocos2d::CCPoint *v3; // rax\n  cocos2d::CCPoint *v4; // rcx\n  char v5; // [rsp+30h] [rbp+8h] BYREF\n\n  v2 = (const struct cocos2d::CCPoint *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 3512) + 200LL))(*(_QWORD *)(a1 + 3512));\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v5, v2);\n  v4 = *(cocos2d::CCPoint **)(a1 + 15128);\n  if ( v4 == *(cocos2d::CCPoint **)(a1 + 15136) )\n  {\n    sub_1403C0830((const struct cocos2d::CCPoint **)(a1 + 15120), *(const struct cocos2d::CCPoint **)(a1 + 15128), v3);\n  }\n  else\n  {\n    cocos2d::CCPoint::CCPoint(v4, v3);\n    *(_QWORD *)(a1 + 15128) += 8LL;\n  }\n}", "assembly": "; \n; LevelEditorLayer::didRotateGameplay from 0x1403fe3f0 to 0x1403fe456 (102 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14078b2e8\n; > <???> @ 0x1409258ec\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:31:53 +0000\n; \npush    rbx                                                            ; +0x0, 0x1403fe3f0\nsub     rsp, 20h                                                       ; +0x2, 0x1403fe3f2\nmov     rbx, rcx                                                       ; +0x6, 0x1403fe3f6\nmov     rcx, [rcx+0DB8h]                                               ; +0x9, 0x1403fe3f9\nmov     rax, [rcx]                                                     ; +0x10, 0x1403fe400\ncall    qword ptr [rax+0C8h]                                           ; +0x13, 0x1403fe403\nmov     rdx, rax                                                       ; +0x19, 0x1403fe409\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x1c, 0x1403fe40c\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x21, 0x1403fe411\nmov     rcx, [rbx+3B18h]                                               ; +0x27, 0x1403fe417\ncmp     rcx, [rbx+3B20h]                                               ; +0x2e, 0x1403fe41e\njz      short loc_1403FE43E                                            ; +0x35, 0x1403fe425\nmov     rdx, rax                                                       ; +0x37, 0x1403fe427\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x3a, 0x1403fe42a\nadd     qword ptr [rbx+3B18h], 8                                       ; +0x40, 0x1403fe430\nadd     rsp, 20h                                                       ; +0x48, 0x1403fe438\npop     rbx                                                            ; +0x4c, 0x1403fe43c\nretn                                                                   ; +0x4d, 0x1403fe43d\nmov     rdx, rcx                                                       ; +0x4e, 0x1403fe43e\nmov     r8, rax                                                        ; +0x51, 0x1403fe441\nlea     rcx, [rbx+3B10h]                                               ; +0x54, 0x1403fe444\ncall    sub_1403C0830                                                  ; +0x5b, 0x1403fe44b\nadd     rsp, 20h                                                       ; +0x60, 0x1403fe450\npop     rbx                                                            ; +0x64, 0x1403fe454\nretn                                                                   ; +0x65, 0x1403fe455", "xrefs": ["<???> @ 0x14078b2e8", "<???> @ 0x1409258ec"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}