{"type": "func", "start": 5044520, "end": 5044694, "name": "ConfigureValuePopup::updateTextInputLabel", "pseudocode": "// \n// ConfigureValuePopup::updateTextInputLabel from 0x4cf928 to 0x4cf9d6 (174 bytes)\n// \n// 3 xrefs:\n// > ConfigureValuePopup::init @ 0x4d0020\n// > ConfigureValuePopup::sliderChanged @ 0x4d0216\n// > ConfigureValuePopup::onArrow @ 0x4d0282\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 ConfigureValuePopup::updateTextInputLabel(ConfigureValuePopup *a1)\n{\n  const char *v1; // r1\n  float m_value; // s15\n  cocos2d::CCString *v4; // r0\n  char *CString; // r0\n  CCTextInputNode *m_input; // r8\n  char *v7; // r2\n  void *v8; // [sp+4h] [bp-Ch] BYREF\n  _DWORD v9[2]; // [sp+8h] [bp-8h] BYREF\n\n  m_value = a1->m_value;\n  a1->m_disableTextDelegate = 1;\n  v8 = &unk_ACDDA8;\n  if ( a1->m_type == 1 )\n    v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)\"%i\", (const char *)(int)m_value);\n  else\n    v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(\n                                (cocos2d::CCString *)\"%.02f\",\n                                v1,\n                                m_value,\n                                a1,\n                                v8,\n                                v9[0],\n                                v9[1]);\n  CString = (char *)cocos2d::CCString::getCString(v4);\n  sub_7753D4((int)&v8, CString);\n  m_input = a1->m_input;\n  sub_775C20(v9);\n  CCTextInputNode::setString((int)m_input, (char *)v9, v7);\n  sub_774008(v9);\n  a1->m_disableTextDelegate = 0;\n  sub_774008(&v8);\n}", "assembly": "; \n; ConfigureValuePopup::updateTextInputLabel from 0x4cf928 to 0x4cf9d6 (174 bytes)\n; \n; 3 xrefs:\n; > ConfigureValuePopup::init @ 0x4d0020\n; > ConfigureValuePopup::sliderChanged @ 0x4d0216\n; > ConfigureValuePopup::onArrow @ 0x4d0282\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.W          {R0-R8,LR}                                             ; +0x0, 0x4cf928\nADD             R4, SP, #0x10+var_s0                                   ; +0x4, 0x4cf92c\nLDR             R2, =(__stack_chk_guard_ptr - 0x4CF93A)                ; +0x6, 0x4cf92e\nMOV             R7, R0                                                 ; +0x8, 0x4cf930\nVLDR            S15, [R0,#0x1F8]                                       ; +0xa, 0x4cf932\nADD             R2, PC; __stack_chk_guard_ptr                          ; +0xe, 0x4cf936\nLDR             R2, [R2]; __stack_chk_guard                            ; +0x10, 0x4cf938\nLDR             R3, [R2]                                               ; +0x12, 0x4cf93a\nMOV             R6, R2                                                 ; +0x14, 0x4cf93c\nSTR             R3, [SP,#0x10+var_4]                                   ; +0x16, 0x4cf93e\nMOVS            R3, #1                                                 ; +0x18, 0x4cf940\nSTRB.W          R3, [R0,#0x205]                                        ; +0x1a, 0x4cf942\nLDR             R3, =(off_AB5BA0 - 0x4CF94C)                           ; +0x1e, 0x4cf946\nADD             R3, PC; off_AB5BA0                                     ; +0x20, 0x4cf948\nLDR             R3, [R3]; dword_ACDD9C                                 ; +0x22, 0x4cf94a\nADDS            R3, #0xC                                               ; +0x24, 0x4cf94c\nSTR.W           R3, [R4,#-0xC]!                                        ; +0x26, 0x4cf94e\nLDR.W           R3, [R0,#0x1F4]                                        ; +0x2a, 0x4cf952\nCMP             R3, #1                                                 ; +0x2e, 0x4cf956\nBNE             loc_4CF986                                             ; +0x30, 0x4cf958\nVCVT.S32.F32    S15, S15                                               ; +0x32, 0x4cf95a\nLDR             R0, =(aI - 0x4CF964); \"%i\"                             ; +0x36, 0x4cf95e\nADD             R0, PC; \"%i\"                                           ; +0x38, 0x4cf960\nVMOV            R1, S15; char *                                        ; +0x3a, 0x4cf962\nBL              _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x3e, 0x4cf966\nBL              _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x42, 0x4cf96a\nMOV             R1, R0; char *                                         ; +0x46, 0x4cf96e\nMOV             R0, R4; int                                            ; +0x48, 0x4cf970\nBL              sub_7753D4                                             ; +0x4a, 0x4cf972\nADD             R5, SP, #0x10+var_8                                    ; +0x4e, 0x4cf976\nMOV             R1, R4                                                 ; +0x50, 0x4cf978\nLDR.W           R8, [R7,#0x20C]                                        ; +0x52, 0x4cf97a\nMOV             R0, R5                                                 ; +0x56, 0x4cf97e\nBL              sub_775C20                                             ; +0x58, 0x4cf980\nB               loc_4CF998                                             ; +0x5c, 0x4cf984\nVCVT.F64.F32    D7, S15                                                ; +0x5e, 0x4cf986\nLDR             R0, =(a02f_0 - 0x4CF990); \"%.02f\"                      ; +0x62, 0x4cf98a\nADD             R0, PC; \"%.02f\"                                        ; +0x64, 0x4cf98c\nVMOV            R2, R3, D7                                             ; +0x66, 0x4cf98e\nBL              _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x6a, 0x4cf992\nB               loc_4CF96A                                             ; +0x6e, 0x4cf996\nMOV             R0, R8                                                 ; +0x70, 0x4cf998\nMOV             R1, R5                                                 ; +0x72, 0x4cf99a\nBL              _ZN15CCTextInputNode9setStringESs; CCTextInputNode::setString(std::string) ; +0x74, 0x4cf99c\nMOV             R0, R5                                                 ; +0x78, 0x4cf9a0\nBL              sub_774008                                             ; +0x7a, 0x4cf9a2\nMOVS            R3, #0                                                 ; +0x7e, 0x4cf9a6\nMOV             R0, R4                                                 ; +0x80, 0x4cf9a8\nSTRB.W          R3, [R7,#0x205]                                        ; +0x82, 0x4cf9aa\nBL              sub_774008                                             ; +0x86, 0x4cf9ae\nLDR             R2, [SP,#0x10+var_4]                                   ; +0x8a, 0x4cf9b2\nLDR             R3, [R6]                                               ; +0x8c, 0x4cf9b4\nCMP             R2, R3                                                 ; +0x8e, 0x4cf9b6\nBEQ             loc_4CF9D0                                             ; +0x90, 0x4cf9b8\nBLX             __stack_chk_fail                                       ; +0x92, 0x4cf9ba\nMOV             R0, R5                                                 ; +0x96, 0x4cf9be\nBL              sub_774008                                             ; +0x98, 0x4cf9c0\nB               loc_4CF9C6                                             ; +0x9c, 0x4cf9c4\nMOV             R0, R4                                                 ; +0x9e, 0x4cf9c6\nBL              sub_774008                                             ; +0xa0, 0x4cf9c8\nBL              __cxa_end_cleanup                                      ; +0xa4, 0x4cf9cc\nADD             SP, SP, #0x10                                          ; +0xa8, 0x4cf9d0\nPOP.W           {R4-R8,PC}                                             ; +0xaa, 0x4cf9d2", "xrefs": ["ConfigureValuePopup::init @ 0x4d0020", "ConfigureValuePopup::sliderChanged @ 0x4d0216", "ConfigureValuePopup::onArrow @ 0x4d0282"], "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"}