{"type": "func", "start": 7827792, "end": 7827868, "name": "Dropdown::refreshValueLabel", "pseudocode": "// \n// Dropdown::refreshValueLabel from 0x777150 to 0x77719c (76 bytes)\n// \n// 2 xrefs:\n// > Dropdown::setSelectedIndex @ 0x7771c6\n// > Dropdown::onRowSelected @ 0x7771fc\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:59:20 +0000\n// \n\nint __fastcall Dropdown::refreshValueLabel(Dropdown *this)\n{\n  int result; // r0\n  int v3; // r1\n  int v4; // r1\n\n  result = *((_DWORD *)this + 77);\n  if ( result )\n  {\n    v3 = *((_DWORD *)this + 71) + 12 * *((_DWORD *)this + 74);\n    if ( (*(_BYTE *)v3 & 1) != 0 )\n      v4 = *(_DWORD *)(v3 + 8);\n    else\n      v4 = v3 + 1;\n    (*(void (__fastcall **)(int, int))(*(_DWORD *)result + 464))(result, v4);\n    return cocos2d::CCLabelBMFont::limitLabelWidth(\n             *((cocos2d::CCLabelBMFont **)this + 77),\n             *((float *)this + 88) - 24.0,\n             0.45,\n             0.2);\n  }\n  return result;\n}", "assembly": "; \n; Dropdown::refreshValueLabel from 0x777150 to 0x77719c (76 bytes)\n; \n; 2 xrefs:\n; > Dropdown::setSelectedIndex @ 0x7771c6\n; > Dropdown::onRowSelected @ 0x7771fc\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:59:20 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x777150\nMOV             R4, R0                                                 ; +0x2, 0x777152\nLDR.W           R0, [R0,#0x134]                                        ; +0x4, 0x777154\nCBZ             R0, locret_77719A                                      ; +0x8, 0x777158\nLDR             R3, [R0]                                               ; +0xa, 0x77715a\nLDR.W           R2, [R4,#0x128]                                        ; +0xc, 0x77715c\nLDR.W           R5, [R3,#0x1D0]                                        ; +0x10, 0x777160\nMOVS            R3, #0xC                                               ; +0x14, 0x777164\nMULS            R3, R2                                                 ; +0x16, 0x777166\nLDR.W           R2, [R4,#0x11C]                                        ; +0x18, 0x777168\nADDS            R1, R2, R3                                             ; +0x1c, 0x77716c\nLDRB            R3, [R2,R3]                                            ; +0x1e, 0x77716e\nLSLS            R3, R3, #0x1F                                          ; +0x20, 0x777170\nITE PL                                                                 ; +0x22, 0x777172\nADDPL           R1, #1                                                 ; +0x24, 0x777174\nLDRMI           R1, [R1,#8]                                            ; +0x26, 0x777176\nBLX             R5                                                     ; +0x28, 0x777178\nVMOV.F32        S15, #24.0                                             ; +0x2a, 0x77717a\nVLDR            S14, [R4,#0x160]                                       ; +0x2e, 0x77717e\nLDR.W           R0, [R4,#0x134]; this                                  ; +0x32, 0x777182\nLDR             R2, flt_77719C; float                                  ; +0x36, 0x777186\nLDR             R3, flt_7771A0; float                                  ; +0x38, 0x777188\nPOP.W           {R4-R6,LR}                                             ; +0x3a, 0x77718a\nVSUB.F32        S15, S14, S15                                          ; +0x3e, 0x77718e\nVMOV            R1, S15; float                                         ; +0x42, 0x777192\nB.W             _ZN7cocos2d13CCLabelBMFont15limitLabelWidthEfff; cocos2d::CCLabelBMFont::limitLabelWidth(float,float,float) ; +0x46, 0x777196\nPOP             {R4-R6,PC}                                             ; +0x4a, 0x77719a", "xrefs": ["Dropdown::setSelectedIndex @ 0x7771c6", "Dropdown::onRowSelected @ 0x7771fc"], "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"}