{"type": "func", "start": 5370424944, "end": 5370425059, "name": "GJRotationControl::draw", "pseudocode": "// \n// GJRotationControl::draw from 0x1401a2e70 to 0x1401a2ee3 (115 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140750ff0\n// > <???> @ 0x1409199ac\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:27:48 +0000\n// \n\nvoid __fastcall GJRotationControl::draw(__int64 a1, __int64 a2, __int64 a3, float a4)\n{\n  cocos2d *v4; // rax\n  const struct cocos2d::CCPoint *v5; // rdx\n  char v6; // [rsp+68h] [rbp+10h] BYREF\n\n  cocos2d::ccDrawColor4B((cocos2d *)0xFF, 0xFFu, 0xFFu, 0x32u);\n  glLineWidth(1.0);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v6, 0.0, 0.0);\n  cocos2d::ccDrawCircle(v4, v5, 0.0, a4, 0, 0, 1.0);\n}", "assembly": "; \n; GJRotationControl::draw from 0x1401a2e70 to 0x1401a2ee3 (115 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140750ff0\n; > <???> @ 0x1409199ac\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:27:48 +0000\n; \nsub     rsp, 58h                                                       ; +0x0, 0x1401a2e70\nmov     r8b, 0FFh                                                      ; +0x4, 0x1401a2e74\nmovaps  [rsp+58h+var_18], xmm6                                         ; +0x7, 0x1401a2e77\nmovzx   edx, r8b                                                       ; +0xc, 0x1401a2e7c\nmov     r9b, 32h ; '2'                                                 ; +0x10, 0x1401a2e80\nmovzx   ecx, dl                                                        ; +0x13, 0x1401a2e83\ncall    cs:?ccDrawColor4B@cocos2d@@YAXEEEE@Z; cocos2d::ccDrawColor4B(uchar,uchar,uchar,uchar) ; +0x16, 0x1401a2e86\nmovss   xmm6, cs:flt_140835080                                         ; +0x1c, 0x1401a2e8c\nmovaps  xmm0, xmm6; width                                              ; +0x24, 0x1401a2e94\ncall    cs:glLineWidth                                                 ; +0x27, 0x1401a2e97\nxorps   xmm2, xmm2                                                     ; +0x2d, 0x1401a2e9d\nlea     rcx, [rsp+58h+arg_8]                                           ; +0x30, 0x1401a2ea0\nxorps   xmm1, xmm1                                                     ; +0x35, 0x1401a2ea5\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x38, 0x1401a2ea8\nmovss   xmm1, cs:dword_1408356E4                                       ; +0x3e, 0x1401a2eae\nmov     r9d, 50h ; 'P'                                                 ; +0x46, 0x1401a2eb6\nmovss   [rsp+58h+var_28], xmm6                                         ; +0x4c, 0x1401a2ebc\nmov     rcx, rax                                                       ; +0x52, 0x1401a2ec2\nmovss   [rsp+58h+var_30], xmm6                                         ; +0x55, 0x1401a2ec5\nxorps   xmm2, xmm2                                                     ; +0x5b, 0x1401a2ecb\nmov     [rsp+58h+var_38], 0                                            ; +0x5e, 0x1401a2ece\ncall    cs:?ccDrawCircle@cocos2d@@YAXAEBVCCPoint@1@MMI_NMM@Z; cocos2d::ccDrawCircle(cocos2d::CCPoint const &,float,float,uint,bool,float,float) ; +0x63, 0x1401a2ed3\nmovaps  xmm6, [rsp+58h+var_18]                                         ; +0x69, 0x1401a2ed9\nadd     rsp, 58h                                                       ; +0x6e, 0x1401a2ede\nretn                                                                   ; +0x72, 0x1401a2ee2", "xrefs": ["<???> @ 0x140750ff0", "<???> @ 0x1409199ac"], "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"}