{"type": "func", "start": 6302444, "end": 6302616, "name": "ConfigureValuePopup::updateTextInputLabel", "pseudocode": "// \n// ConfigureValuePopup::updateTextInputLabel from 0x602aec to 0x602b98 (172 bytes)\n// \n// 3 xrefs:\n// > ConfigureValuePopup::sliderChanged @ 0x602bd2\n// > ConfigureValuePopup::onArrow @ 0x602c3e\n// > ConfigureValuePopup::init @ 0x6032c8\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:54:42 +0000\n// \n\nint __fastcall ConfigureValuePopup::updateTextInputLabel(ConfigureValuePopup *this, const char *a2)\n{\n  float v3; // s15\n  cocos2d::CCString *v4; // r0\n  char *CString; // r0\n  int v6; // r8\n  int v8[3]; // [sp+4h] [bp-1Ch] BYREF\n  int v9[3]; // [sp+10h] [bp-10h] BYREF\n\n  v3 = *((float *)this + 131);\n  *((_BYTE *)this + 537) = 1;\n  memset(v8, 0, sizeof(v8));\n  if ( *((_DWORD *)this + 130) == 1 )\n    v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)\"%i\", (const char *)(int)v3);\n  else\n    v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)\"%.02f\", a2, v3);\n  CString = (char *)cocos2d::CCString::getCString(v4);\n  std::string::assign(v8, CString);\n  v6 = *((_DWORD *)this + 136);\n  std::string::basic_string(v9, (int)v8);\n  CCTextInputNode::setString(v6, (int)v9);\n  std::string::~string((int)v9);\n  *((_BYTE *)this + 537) = 0;\n  return std::string::~string((int)v8);\n}", "assembly": "; \n; ConfigureValuePopup::updateTextInputLabel from 0x602aec to 0x602b98 (172 bytes)\n; \n; 3 xrefs:\n; > ConfigureValuePopup::sliderChanged @ 0x602bd2\n; > ConfigureValuePopup::onArrow @ 0x602c3e\n; > ConfigureValuePopup::init @ 0x6032c8\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:54:42 +0000\n; \nLDR             R3, =(__stack_chk_guard_ptr - 0x602AF6)                ; +0x0, 0x602aec\nPUSH.W          {R4-R8,LR}                                             ; +0x2, 0x602aee\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0x6, 0x602af2\nLDR             R3, [R3]; __stack_chk_guard                            ; +0x8, 0x602af4\nSUB             SP, SP, #0x20                                          ; +0xa, 0x602af6\nMOV             R7, R0                                                 ; +0xc, 0x602af8\nLDR             R2, [R3]                                               ; +0xe, 0x602afa\nMOV             R6, R3                                                 ; +0x10, 0x602afc\nVLDR            S15, [R0,#0x20C]                                       ; +0x12, 0x602afe\nADD             R4, SP, #0x20+var_1C                                   ; +0x16, 0x602b02\nSTR             R2, [SP,#0x20+var_4]                                   ; +0x18, 0x602b04\nMOVS            R2, #1                                                 ; +0x1a, 0x602b06\nSTRB.W          R2, [R0,#0x219]                                        ; +0x1c, 0x602b08\nMOVS            R2, #0                                                 ; +0x20, 0x602b0c\nSTR             R2, [SP,#0x20+var_1C]                                  ; +0x22, 0x602b0e\nSTR             R2, [SP,#0x20+var_18]                                  ; +0x24, 0x602b10\nSTR             R2, [SP,#0x20+var_14]                                  ; +0x26, 0x602b12\nLDR.W           R2, [R0,#0x208]                                        ; +0x28, 0x602b14\nCMP             R2, #1                                                 ; +0x2c, 0x602b18\nBNE             loc_602B48                                             ; +0x2e, 0x602b1a\nVCVT.S32.F32    S15, S15                                               ; +0x30, 0x602b1c\nLDR             R0, =(aI - 0x602B26); \"%i\"                             ; +0x34, 0x602b20\nADD             R0, PC; \"%i\"                                           ; +0x36, 0x602b22\nVMOV            R1, S15; char *                                        ; +0x38, 0x602b24\nBL              _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x3c, 0x602b28\nBL              _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x40, 0x602b2c\nMOV             R1, R0; char *                                         ; +0x44, 0x602b30\nMOV             R0, R4; int                                            ; +0x46, 0x602b32\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc; std::string::assign(char const*) ; +0x48, 0x602b34\nADD             R5, SP, #0x20+var_10                                   ; +0x4c, 0x602b38\nMOV             R1, R4                                                 ; +0x4e, 0x602b3a\nLDR.W           R8, [R7,#0x220]                                        ; +0x50, 0x602b3c\nMOV             R0, R5                                                 ; +0x54, 0x602b40\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_; std::string::basic_string(std::string const&) ; +0x56, 0x602b42\nB               loc_602B5A                                             ; +0x5a, 0x602b46\nVCVT.F64.F32    D7, S15                                                ; +0x5c, 0x602b48\nLDR             R0, =(a02f_0 - 0x602B52); \"%.02f\"                      ; +0x60, 0x602b4c\nADD             R0, PC; \"%.02f\"                                        ; +0x62, 0x602b4e\nVMOV            R2, R3, D7                                             ; +0x64, 0x602b50\nBL              _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x68, 0x602b54\nB               loc_602B2C                                             ; +0x6c, 0x602b58\nMOV             R0, R8                                                 ; +0x6e, 0x602b5a\nMOV             R1, R5                                                 ; +0x70, 0x602b5c\nBL              _ZN15CCTextInputNode9setStringENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; CCTextInputNode::setString(std::string) ; +0x72, 0x602b5e\nMOV             R0, R5                                                 ; +0x76, 0x602b62\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x78, 0x602b64\nMOVS            R3, #0                                                 ; +0x7c, 0x602b68\nMOV             R0, R4                                                 ; +0x7e, 0x602b6a\nSTRB.W          R3, [R7,#0x219]                                        ; +0x80, 0x602b6c\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x84, 0x602b70\nLDR             R2, [SP,#0x20+var_4]                                   ; +0x88, 0x602b74\nLDR             R3, [R6]                                               ; +0x8a, 0x602b76\nCMP             R2, R3                                                 ; +0x8c, 0x602b78\nBEQ             loc_602B92                                             ; +0x8e, 0x602b7a\nBLX             __stack_chk_fail                                       ; +0x90, 0x602b7c\nMOV             R0, R5                                                 ; +0x94, 0x602b80\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x96, 0x602b82\nB               loc_602B88                                             ; +0x9a, 0x602b86\nMOV             R0, R4                                                 ; +0x9c, 0x602b88\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x9e, 0x602b8a\nBL              __cxa_end_cleanup                                      ; +0xa2, 0x602b8e\nADD             SP, SP, #0x20 ; ' '                                    ; +0xa6, 0x602b92\nPOP.W           {R4-R8,PC}                                             ; +0xa8, 0x602b94", "xrefs": ["ConfigureValuePopup::sliderChanged @ 0x602bd2", "ConfigureValuePopup::onArrow @ 0x602c3e", "ConfigureValuePopup::init @ 0x6032c8"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}