{"type": "func", "start": 4296344704, "end": 4296344924, "name": "ConfigureValuePopup::updateTextInputLabel", "pseudocode": "// \n// ConfigureValuePopup::updateTextInputLabel from 0x100150480 to 0x10015055c (220 bytes)\n// \n// 3 xrefs:\n// > ConfigureValuePopup::init @ 0x10015029c\n// > ConfigureValuePopup::sliderChanged @ 0x100150410\n// > ConfigureValuePopup::onArrow @ 0x10015047c\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 __fastcall ConfigureValuePopup::updateTextInputLabel(ConfigureValuePopup *a1)\n{\n  float m_value; // s0\n  cocos2d::CCString *v3; // x0\n  const char *CString; // x0\n  CCTextInputNode *m_input; // x20\n  std::string __p; // [xsp+10h] [xbp-40h] BYREF\n  std::string v7; // [xsp+28h] [xbp-28h] BYREF\n\n  a1->m_disableTextDelegate = 1;\n  memset(&v7, 0, sizeof(v7));\n  m_value = a1->m_value;\n  if ( a1->m_type == 1 )\n    v3 = (cocos2d::CCString *)sub_100268F4C(\"%i\", (int)m_value);\n  else\n    v3 = (cocos2d::CCString *)sub_100268F4C(\"%.02f\", m_value);\n  CString = cocos2d::CCString::getCString(v3);\n  std::string::assign(&v7, CString);\n  m_input = a1->m_input;\n  if ( SHIBYTE(v7.__r_.__value_.__r.__words[2]) < 0 )\n    sub_1000097D0(&__p, v7.__r_.__value_.__l.__data_, v7.__r_.__value_.__l.__size_);\n  else\n    __p = v7;\n  CCTextInputNode::setString(m_input, &__p);\n  if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 )\n    operator delete(__p.__r_.__value_.__l.__data_);\n  a1->m_disableTextDelegate = 0;\n  if ( SHIBYTE(v7.__r_.__value_.__r.__words[2]) < 0 )\n    operator delete(v7.__r_.__value_.__l.__data_);\n}", "assembly": "; \n; ConfigureValuePopup::updateTextInputLabel from 0x100150480 to 0x10015055c (220 bytes)\n; \n; 3 xrefs:\n; > ConfigureValuePopup::init @ 0x10015029c\n; > ConfigureValuePopup::sliderChanged @ 0x100150410\n; > ConfigureValuePopup::onArrow @ 0x10015047c\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\nSUB             SP, SP, #0x60                                          ; +0x0, 0x100150480\nSTP             X20, X19, [SP,#0x50+var_10]                            ; +0x4, 0x100150484\nSTP             X29, X30, [SP,#0x50+var_s0]                            ; +0x8, 0x100150488\nADD             X29, SP, #0x50                                         ; +0xc, 0x10015048c\nMOV             X19, X0                                                ; +0x10, 0x100150490\nMOV             W8, #1                                                 ; +0x14, 0x100150494\nSTRB            W8, [X0,#0x291]                                        ; +0x18, 0x100150498\nSTP             XZR, XZR, [SP,#0x50+var_28]                            ; +0x1c, 0x10015049c\nSTR             XZR, [SP,#0x50+var_28.__r_.__value_+0x10]              ; +0x20, 0x1001504a0\nLDR             W8, [X0,#0x280]                                        ; +0x24, 0x1001504a4\nLDR             S0, [X0,#0x284]                                        ; +0x28, 0x1001504a8\nCMP             W8, #1                                                 ; +0x2c, 0x1001504ac\nB.NE            loc_1001504CC                                          ; +0x30, 0x1001504b0\nFCVTZS          W8, S0                                                 ; +0x34, 0x1001504b4\nSTR             X8, [SP,#0x50+var_50]                                  ; +0x38, 0x1001504b8\nADRL            X0, aI; \"%i\"                                           ; +0x3c, 0x1001504bc\nBL              sub_100268F4C                                          ; +0x44, 0x1001504c4\nB               loc_1001504E0                                          ; +0x48, 0x1001504c8\nFCVT            D0, S0                                                 ; +0x4c, 0x1001504cc\nSTR             D0, [SP,#0x50+var_50]                                  ; +0x50, 0x1001504d0\nADRL            X0, a02f_0; \"%.02f\"                                    ; +0x54, 0x1001504d4\nBL              sub_100268F4C                                          ; +0x5c, 0x1001504dc\nBL              cocos2d__CCString__getCString                          ; +0x60, 0x1001504e0\nMOV             X1, X0; __s                                            ; +0x64, 0x1001504e4\nADD             X0, SP, #0x50+var_28; this                             ; +0x68, 0x1001504e8\nBL              __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc; std::string::assign(char const*) ; +0x6c, 0x1001504ec\nLDR             X20, [X19,#0x2A0]                                      ; +0x70, 0x1001504f0\nLDRSB           W8, [SP,#0x50+var_28.__r_.__value_+0x17]               ; +0x74, 0x1001504f4\nTBNZ            W8, #0x1F, loc_100150510                               ; +0x78, 0x1001504f8\nLDUR            Q0, [SP,#0x50+var_28]                                  ; +0x7c, 0x1001504fc\nSTR             Q0, [SP,#0x50+__p]                                     ; +0x80, 0x100150500\nLDR             X8, [SP,#0x50+var_28.__r_.__value_+0x10]               ; +0x84, 0x100150504\nSTR             X8, [SP,#0x50+var_30]                                  ; +0x88, 0x100150508\nB               loc_10015051C                                          ; +0x8c, 0x10015050c\nLDP             X1, X2, [SP,#0x50+var_28]; __src                       ; +0x90, 0x100150510\nADD             X0, SP, #0x50+__p; __dst                               ; +0x94, 0x100150514\nBL              sub_1000097D0                                          ; +0x98, 0x100150518\nADD             X1, SP, #0x50+__p                                      ; +0x9c, 0x10015051c\nMOV             X0, X20                                                ; +0xa0, 0x100150520\nBL              CCTextInputNode__setString                             ; +0xa4, 0x100150524\nLDRSB           W8, [SP,#0x50+var_30+7]                                ; +0xa8, 0x100150528\nTBZ             W8, #0x1F, loc_100150538                               ; +0xac, 0x10015052c\nLDR             X0, [SP,#0x50+__p]; __p                                ; +0xb0, 0x100150530\nBL              __ZdlPv; operator delete(void *)                       ; +0xb4, 0x100150534\nSTRB            WZR, [X19,#0x291]                                      ; +0xb8, 0x100150538\nLDRSB           W8, [SP,#0x50+var_28.__r_.__value_+0x17]               ; +0xbc, 0x10015053c\nTBZ             W8, #0x1F, loc_10015054C                               ; +0xc0, 0x100150540\nLDR             X0, [SP,#0x50+var_28]; __p                             ; +0xc4, 0x100150544\nBL              __ZdlPv; operator delete(void *)                       ; +0xc8, 0x100150548\nLDP             X29, X30, [SP,#0x50+var_s0]                            ; +0xcc, 0x10015054c\nLDP             X20, X19, [SP,#0x50+var_10]                            ; +0xd0, 0x100150550\nADD             SP, SP, #0x60 ; '`'                                    ; +0xd4, 0x100150554\nRET                                                                    ; +0xd8, 0x100150558", "xrefs": ["ConfigureValuePopup::init @ 0x10015029c", "ConfigureValuePopup::sliderChanged @ 0x100150410", "ConfigureValuePopup::onArrow @ 0x10015047c"], "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"}