{"type": "func", "start": 5370423376, "end": 5370423517, "name": "GJRotationControl::updateAngleInput", "pseudocode": "// \n// GJRotationControl::updateAngleInput from 0x1401a2850 to 0x1401a28dd (141 bytes)\n// \n// 4 xrefs:\n// > GJRotationControl::onApplyAngle @ 0x1401a26ec\n// > GJRotationControl::setAngle @ 0x1401a299c\n// > GJRotationControl::ccTouchMoved @ 0x1401a2d7d\n// > <???> @ 0x14091991c\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::updateAngleInput(__int64 a1, float a2)\n{\n  __int64 v2; // rax\n  cocos2d::CCString *v4; // rax\n  const char *CString; // rax\n  size_t v6; // r8\n  __int128 v7; // [rsp+20h] [rbp-28h] BYREF\n  __int64 v8; // [rsp+30h] [rbp-18h]\n  __int64 v9; // [rsp+38h] [rbp-10h]\n\n  v2 = *(_QWORD *)(a1 + 464);\n  if ( v2 && !*(_BYTE *)(v2 + 468) )\n  {\n    v4 = cocos2d::CCString::createWithFormat(\"%.2f\", a2);\n    CString = cocos2d::CCString::getCString(v4);\n    v7 = 0;\n    v8 = 0;\n    v6 = -1;\n    v9 = 0;\n    do\n      ++v6;\n    while ( CString[v6] );\n    sub_14003D230(&v7, CString, v6);\n    CCTextInputNode::setString(*(_QWORD **)(a1 + 464), &v7);\n  }\n}", "assembly": "; \n; GJRotationControl::updateAngleInput from 0x1401a2850 to 0x1401a28dd (141 bytes)\n; \n; 4 xrefs:\n; > GJRotationControl::onApplyAngle @ 0x1401a26ec\n; > GJRotationControl::setAngle @ 0x1401a299c\n; > GJRotationControl::ccTouchMoved @ 0x1401a2d7d\n; > <???> @ 0x14091991c\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; \npush    rbx                                                            ; +0x0, 0x1401a2850\nsub     rsp, 40h                                                       ; +0x2, 0x1401a2852\nmov     rax, [rcx+1D0h]                                                ; +0x6, 0x1401a2856\nmov     rbx, rcx                                                       ; +0xd, 0x1401a285d\ntest    rax, rax                                                       ; +0x10, 0x1401a2860\njz      short loc_1401A28D7                                            ; +0x13, 0x1401a2863\ncmp     byte ptr [rax+1D4h], 0                                         ; +0x15, 0x1401a2865\njnz     short loc_1401A28D7                                            ; +0x1c, 0x1401a286c\ncvtss2sd xmm1, xmm1                                                    ; +0x1e, 0x1401a286e\nlea     rcx, a2f; \"%.2f\"                                               ; +0x22, 0x1401a2872\nmovq    rdx, xmm1                                                      ; +0x29, 0x1401a2879\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x2e, 0x1401a287e\nmov     rcx, rax                                                       ; +0x34, 0x1401a2884\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x37, 0x1401a2887\nxor     ecx, ecx                                                       ; +0x3d, 0x1401a288d\nxorps   xmm0, xmm0                                                     ; +0x3f, 0x1401a288f\nmovups  [rsp+48h+var_28], xmm0                                         ; +0x42, 0x1401a2892\nmov     [rsp+48h+var_18], rcx                                          ; +0x47, 0x1401a2897\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x4c, 0x1401a289c\nmov     [rsp+48h+var_10], rcx                                          ; +0x53, 0x1401a28a3\nnop     dword ptr [rax+rax+00000000h]                                  ; +0x58, 0x1401a28a8\ninc     r8                                                             ; +0x60, 0x1401a28b0\ncmp     [rax+r8], cl                                                   ; +0x63, 0x1401a28b3\njnz     short loc_1401A28B0                                            ; +0x67, 0x1401a28b7\nmov     rdx, rax                                                       ; +0x69, 0x1401a28b9\nlea     rcx, [rsp+48h+var_28]                                          ; +0x6c, 0x1401a28bc\ncall    sub_14003D230                                                  ; +0x71, 0x1401a28c1\nmov     rcx, [rbx+1D0h]                                                ; +0x76, 0x1401a28c6\nlea     rdx, [rsp+48h+var_28]                                          ; +0x7d, 0x1401a28cd\ncall    CCTextInputNode__setString                                     ; +0x82, 0x1401a28d2\nadd     rsp, 40h                                                       ; +0x87, 0x1401a28d7\npop     rbx                                                            ; +0x8b, 0x1401a28db\nretn                                                                   ; +0x8c, 0x1401a28dc", "xrefs": ["GJRotationControl::onApplyAngle @ 0x1401a26ec", "GJRotationControl::setAngle @ 0x1401a299c", "GJRotationControl::ccTouchMoved @ 0x1401a2d7d", "<???> @ 0x14091991c"], "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"}