{"type": "func", "start": 5371380912, "end": 5371381063, "name": "GJPFollowCommandLayer::updateXModLabel", "pseudocode": "// \n// GJPFollowCommandLayer::updateXModLabel from 0x14028c4b0 to 0x14028c547 (151 bytes)\n// \n// 3 xrefs:\n// > GJPFollowCommandLayer::init @ 0x14028bf33\n// > GJPFollowCommandLayer::sliderXModChanged @ 0x14028c46c\n// > <???> @ 0x1406d16a0\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 GJPFollowCommandLayer::updateXModLabel(GJPFollowCommandLayer *a1)\n{\n  float m_speed; // xmm0_4\n  char *CString; // rax\n  cocos2d::CCString *v4; // rax\n  size_t v5; // r8\n  __int128 v6; // [rsp+20h] [rbp-28h] BYREF\n  __int64 v7; // [rsp+30h] [rbp-18h]\n  __int64 v8; // [rsp+38h] [rbp-10h]\n\n  m_speed = a1->m_speed;\n  CString = byte_140518980;\n  a1->m_disableTextDelegate = 1;\n  if ( m_speed != -99999.0 )\n  {\n    v4 = cocos2d::CCString::createWithFormat(\"%0.3f\", m_speed);\n    CString = (char *)cocos2d::CCString::getCString(v4);\n  }\n  v6 = 0;\n  v7 = 0;\n  v5 = -1;\n  v8 = 0;\n  do\n    ++v5;\n  while ( CString[v5] );\n  sub_14003A930(&v6, CString, v5);\n  CCTextInputNode::setString((__int64)a1->m_speedInput, &v6);\n  a1->m_disableTextDelegate = 0;\n}", "assembly": "; \n; GJPFollowCommandLayer::updateXModLabel from 0x14028c4b0 to 0x14028c547 (151 bytes)\n; \n; 3 xrefs:\n; > GJPFollowCommandLayer::init @ 0x14028bf33\n; > GJPFollowCommandLayer::sliderXModChanged @ 0x14028c46c\n; > <???> @ 0x1406d16a0\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, 0x14028c4b0\nsub     rsp, 40h                                                       ; +0x2, 0x14028c4b2\nmovss   xmm0, dword ptr [rcx+3F4h]                                     ; +0x6, 0x14028c4b6\nlea     rax, byte_140518980                                            ; +0xe, 0x14028c4be\nucomiss xmm0, cs:dword_140623AFC                                       ; +0x15, 0x14028c4c5\nmov     rbx, rcx                                                       ; +0x1c, 0x14028c4cc\nmov     byte ptr [rcx+2CCh], 1                                         ; +0x1f, 0x14028c4cf\njp      short loc_14028C4DA                                            ; +0x26, 0x14028c4d6\njz      short loc_14028C4F8                                            ; +0x28, 0x14028c4d8\ncvtps2pd xmm1, xmm0                                                    ; +0x2a, 0x14028c4da\nlea     rcx, a03f; \"%0.3f\"                                             ; +0x2d, 0x14028c4dd\nmovq    rdx, xmm1                                                      ; +0x34, 0x14028c4e4\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x39, 0x14028c4e9\nmov     rcx, rax                                                       ; +0x3f, 0x14028c4ef\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x42, 0x14028c4f2\nxor     ecx, ecx                                                       ; +0x48, 0x14028c4f8\nxorps   xmm0, xmm0                                                     ; +0x4a, 0x14028c4fa\nmovups  [rsp+48h+var_28], xmm0                                         ; +0x4d, 0x14028c4fd\nmov     [rsp+48h+var_18], rcx                                          ; +0x52, 0x14028c502\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x57, 0x14028c507\nmov     [rsp+48h+var_10], rcx                                          ; +0x5e, 0x14028c50e\ninc     r8                                                             ; +0x63, 0x14028c513\ncmp     [rax+r8], cl                                                   ; +0x66, 0x14028c516\njnz     short loc_14028C513                                            ; +0x6a, 0x14028c51a\nmov     rdx, rax                                                       ; +0x6c, 0x14028c51c\nlea     rcx, [rsp+48h+var_28]                                          ; +0x6f, 0x14028c51f\ncall    sub_14003A930                                                  ; +0x74, 0x14028c524\nmov     rcx, [rbx+3C0h]                                                ; +0x79, 0x14028c529\nlea     rdx, [rsp+48h+var_28]                                          ; +0x80, 0x14028c530\ncall    CCTextInputNode__setString                                     ; +0x85, 0x14028c535\nmov     byte ptr [rbx+2CCh], 0                                         ; +0x8a, 0x14028c53a\nadd     rsp, 40h                                                       ; +0x91, 0x14028c541\npop     rbx                                                            ; +0x95, 0x14028c545\nretn                                                                   ; +0x96, 0x14028c546", "xrefs": ["GJPFollowCommandLayer::init @ 0x14028bf33", "GJPFollowCommandLayer::sliderXModChanged @ 0x14028c46c", "<???> @ 0x1406d16a0"], "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"}