{"type": "func", "start": 5373143808, "end": 5373144006, "name": "SetupPulsePopup::updateFadeInLabel", "pseudocode": "// \n// SetupPulsePopup::updateFadeInLabel from 0x14043ab00 to 0x14043abc6 (198 bytes)\n// \n// 2 xrefs:\n// > SetupPulsePopup::init @ 0x140437e34\n// > <???> @ 0x1406d9e60\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 SetupPulsePopup::updateFadeInLabel(SetupPulsePopup *a1, bool a2)\n{\n  float m_fadeInTime; // xmm3_4\n  const char *CString; // rax\n  cocos2d::CCString *v5; // 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  m_fadeInTime = a1->m_fadeInTime;\n  CString = \"Mixed\";\n  a1->m_disableTextDelegate = 1;\n  if ( m_fadeInTime != -0.1 )\n  {\n    if ( a2 || (float)(m_fadeInTime - (float)(int)m_fadeInTime) != 0.0 )\n      v5 = cocos2d::CCString::createWithFormat(\"%.02f\", m_fadeInTime);\n    else\n      v5 = cocos2d::CCString::createWithFormat(\"%i\", (int)m_fadeInTime);\n    CString = cocos2d::CCString::getCString(v5);\n  }\n  v7 = 0;\n  v8 = 0;\n  v6 = -1;\n  v9 = 0;\n  do\n    ++v6;\n  while ( CString[v6] );\n  sub_14003A930(&v7, CString, v6);\n  CCTextInputNode::setString((__int64)a1->m_fadeInInput, &v7);\n  a1->m_disableTextDelegate = 0;\n}", "assembly": "; \n; SetupPulsePopup::updateFadeInLabel from 0x14043ab00 to 0x14043abc6 (198 bytes)\n; \n; 2 xrefs:\n; > SetupPulsePopup::init @ 0x140437e34\n; > <???> @ 0x1406d9e60\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, 0x14043ab00\nsub     rsp, 40h                                                       ; +0x2, 0x14043ab02\nmovss   xmm3, dword ptr [rcx+4B0h]                                     ; +0x6, 0x14043ab06\nlea     rax, aMixed; \"Mixed\"                                           ; +0xe, 0x14043ab0e\nucomiss xmm3, cs:dword_1406236C0                                       ; +0x15, 0x14043ab15\nmov     rbx, rcx                                                       ; +0x1c, 0x14043ab1c\nmov     byte ptr [rcx+2CCh], 1                                         ; +0x1f, 0x14043ab1f\njp      short loc_14043AB2A                                            ; +0x26, 0x14043ab26\njz      short loc_14043AB77                                            ; +0x28, 0x14043ab28\ntest    dl, dl                                                         ; +0x2a, 0x14043ab2a\njnz     short loc_14043AB59                                            ; +0x2c, 0x14043ab2c\ncvttss2si edx, xmm3                                                    ; +0x2e, 0x14043ab2e\nmovaps  xmm2, xmm3                                                     ; +0x32, 0x14043ab32\nxorps   xmm1, xmm1                                                     ; +0x35, 0x14043ab35\nmovd    xmm0, edx                                                      ; +0x38, 0x14043ab38\ncvtdq2ps xmm0, xmm0                                                    ; +0x3c, 0x14043ab3c\nsubss   xmm2, xmm0                                                     ; +0x3f, 0x14043ab3f\nucomiss xmm2, xmm1                                                     ; +0x43, 0x14043ab43\njp      short loc_14043AB59                                            ; +0x46, 0x14043ab46\njnz     short loc_14043AB59                                            ; +0x48, 0x14043ab48\nlea     rcx, aI_11; \"%i\"                                               ; +0x4a, 0x14043ab4a\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x51, 0x14043ab51\njmp     short loc_14043AB6E                                            ; +0x57, 0x14043ab57\ncvtps2pd xmm1, xmm3                                                    ; +0x59, 0x14043ab59\nlea     rcx, a02f; \"%.02f\"                                             ; +0x5c, 0x14043ab5c\nmovq    rdx, xmm1                                                      ; +0x63, 0x14043ab63\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x68, 0x14043ab68\nmov     rcx, rax                                                       ; +0x6e, 0x14043ab6e\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x71, 0x14043ab71\nxor     ecx, ecx                                                       ; +0x77, 0x14043ab77\nxorps   xmm0, xmm0                                                     ; +0x79, 0x14043ab79\nmovups  [rsp+48h+var_28], xmm0                                         ; +0x7c, 0x14043ab7c\nmov     [rsp+48h+var_18], rcx                                          ; +0x81, 0x14043ab81\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x86, 0x14043ab86\nmov     [rsp+48h+var_10], rcx                                          ; +0x8d, 0x14043ab8d\ninc     r8                                                             ; +0x92, 0x14043ab92\ncmp     [rax+r8], cl                                                   ; +0x95, 0x14043ab95\njnz     short loc_14043AB92                                            ; +0x99, 0x14043ab99\nmov     rdx, rax                                                       ; +0x9b, 0x14043ab9b\nlea     rcx, [rsp+48h+var_28]                                          ; +0x9e, 0x14043ab9e\ncall    sub_14003A930                                                  ; +0xa3, 0x14043aba3\nmov     rcx, [rbx+448h]                                                ; +0xa8, 0x14043aba8\nlea     rdx, [rsp+48h+var_28]                                          ; +0xaf, 0x14043abaf\ncall    CCTextInputNode__setString                                     ; +0xb4, 0x14043abb4\nmov     byte ptr [rbx+2CCh], 0                                         ; +0xb9, 0x14043abb9\nadd     rsp, 40h                                                       ; +0xc0, 0x14043abc0\npop     rbx                                                            ; +0xc4, 0x14043abc4\nretn                                                                   ; +0xc5, 0x14043abc5", "xrefs": ["SetupPulsePopup::init @ 0x140437e34", "<???> @ 0x1406d9e60"], "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"}