{"type": "func", "start": 5371273008, "end": 5371273159, "name": "GJFollowCommandLayer::updateXModLabel", "pseudocode": "// \n// GJFollowCommandLayer::updateXModLabel from 0x140271f30 to 0x140271fc7 (151 bytes)\n// \n// 3 xrefs:\n// > GJFollowCommandLayer::init @ 0x140271987\n// > GJFollowCommandLayer::sliderXModChanged @ 0x140271ed8\n// > <???> @ 0x1406d0e00\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 GJFollowCommandLayer::updateXModLabel(GJFollowCommandLayer *a1)\n{\n  float m_xMod; // 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_xMod = a1->m_xMod;\n  CString = byte_140518980;\n  a1->m_disableTextDelegate = 1;\n  if ( m_xMod != -99999.0 )\n  {\n    v4 = cocos2d::CCString::createWithFormat(\"%0.2f\", m_xMod);\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_xModInput, &v6);\n  a1->m_disableTextDelegate = 0;\n}", "assembly": "; \n; GJFollowCommandLayer::updateXModLabel from 0x140271f30 to 0x140271fc7 (151 bytes)\n; \n; 3 xrefs:\n; > GJFollowCommandLayer::init @ 0x140271987\n; > GJFollowCommandLayer::sliderXModChanged @ 0x140271ed8\n; > <???> @ 0x1406d0e00\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, 0x140271f30\nsub     rsp, 40h                                                       ; +0x2, 0x140271f32\nmovss   xmm0, dword ptr [rcx+3E0h]                                     ; +0x6, 0x140271f36\nlea     rax, byte_140518980                                            ; +0xe, 0x140271f3e\nucomiss xmm0, cs:dword_140623AFC                                       ; +0x15, 0x140271f45\nmov     rbx, rcx                                                       ; +0x1c, 0x140271f4c\nmov     byte ptr [rcx+2CCh], 1                                         ; +0x1f, 0x140271f4f\njp      short loc_140271F5A                                            ; +0x26, 0x140271f56\njz      short loc_140271F78                                            ; +0x28, 0x140271f58\ncvtps2pd xmm1, xmm0                                                    ; +0x2a, 0x140271f5a\nlea     rcx, a02f_0; \"%0.2f\"                                           ; +0x2d, 0x140271f5d\nmovq    rdx, xmm1                                                      ; +0x34, 0x140271f64\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x39, 0x140271f69\nmov     rcx, rax                                                       ; +0x3f, 0x140271f6f\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x42, 0x140271f72\nxor     ecx, ecx                                                       ; +0x48, 0x140271f78\nxorps   xmm0, xmm0                                                     ; +0x4a, 0x140271f7a\nmovups  [rsp+48h+var_28], xmm0                                         ; +0x4d, 0x140271f7d\nmov     [rsp+48h+var_18], rcx                                          ; +0x52, 0x140271f82\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x57, 0x140271f87\nmov     [rsp+48h+var_10], rcx                                          ; +0x5e, 0x140271f8e\ninc     r8                                                             ; +0x63, 0x140271f93\ncmp     [rax+r8], cl                                                   ; +0x66, 0x140271f96\njnz     short loc_140271F93                                            ; +0x6a, 0x140271f9a\nmov     rdx, rax                                                       ; +0x6c, 0x140271f9c\nlea     rcx, [rsp+48h+var_28]                                          ; +0x6f, 0x140271f9f\ncall    sub_14003A930                                                  ; +0x74, 0x140271fa4\nmov     rcx, [rbx+3C0h]                                                ; +0x79, 0x140271fa9\nlea     rdx, [rsp+48h+var_28]                                          ; +0x80, 0x140271fb0\ncall    CCTextInputNode__setString                                     ; +0x85, 0x140271fb5\nmov     byte ptr [rbx+2CCh], 0                                         ; +0x8a, 0x140271fba\nadd     rsp, 40h                                                       ; +0x91, 0x140271fc1\npop     rbx                                                            ; +0x95, 0x140271fc5\nretn                                                                   ; +0x96, 0x140271fc6", "xrefs": ["GJFollowCommandLayer::init @ 0x140271987", "GJFollowCommandLayer::sliderXModChanged @ 0x140271ed8", "<???> @ 0x1406d0e00"], "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"}