{"type": "func", "start": 13329668, "end": 13329792, "name": "Dropdown::refreshValueLabel", "pseudocode": "// \n// Dropdown::refreshValueLabel from 0xcb6504 to 0xcb6580 (124 bytes)\n// \n// 3 xrefs:\n// > Dropdown::setSelectedIndex @ 0xcb65b4\n// > Dropdown::onRowSelected @ 0xcb660c\n// > <???> @ 0x5ef18\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 13:06:12 +0000\n// \n\n__int64 __fastcall Dropdown::refreshValueLabel(__int64 this)\n{\n  __int64 v1; // x3\n  __int64 v2; // x5\n  __int64 v3; // x1\n  __int64 v4; // x19\n\n  v1 = *(_QWORD *)(this + 400);\n  if ( v1 )\n  {\n    v2 = *(_QWORD *)(this + 360) + 24LL * *(int *)(this + 384);\n    v3 = v2 + 1;\n    if ( (*(_BYTE *)v2 & 1) != 0 )\n      v3 = *(_QWORD *)(v2 + 16);\n    v4 = this;\n    (*(void (__fastcall **)(_QWORD, __int64))(*(_QWORD *)v1 + 928LL))(*(_QWORD *)(this + 400), v3);\n    return cocos2d::CCLabelBMFont::limitLabelWidth(\n             *(cocos2d::CCLabelBMFont **)(v4 + 400),\n             *(float *)(v4 + 476) - 24.0,\n             0.45,\n             0.2);\n  }\n  return this;\n}", "assembly": "; \n; Dropdown::refreshValueLabel from 0xcb6504 to 0xcb6580 (124 bytes)\n; \n; 3 xrefs:\n; > Dropdown::setSelectedIndex @ 0xcb65b4\n; > Dropdown::onRowSelected @ 0xcb660c\n; > <???> @ 0x5ef18\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 13:06:12 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0xcb6504\nMOV             X29, SP                                                ; +0x4, 0xcb6508\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0xcb650c\nLDR             X3, [X0,#0x190]                                        ; +0xc, 0xcb6510\nCBZ             X3, loc_CB6574                                         ; +0x10, 0xcb6514\nLDRSW           X1, [X0,#0x180]                                        ; +0x14, 0xcb6518\nLDR             X4, [X0,#0x168]                                        ; +0x18, 0xcb651c\nLSL             X2, X1, #5                                             ; +0x1c, 0xcb6520\nLDR             X6, [X3]                                               ; +0x20, 0xcb6524\nSUB             X2, X2, X1,LSL#3                                       ; +0x24, 0xcb6528\nADD             X5, X4, X2                                             ; +0x28, 0xcb652c\nLDR             X6, [X6,#0x3A0]                                        ; +0x2c, 0xcb6530\nADD             X1, X5, #1                                             ; +0x30, 0xcb6534\nLDRB            W2, [X4,X2]                                            ; +0x34, 0xcb6538\nTBZ             W2, #0, loc_CB6544                                     ; +0x38, 0xcb653c\nLDR             X1, [X5,#0x10]                                         ; +0x3c, 0xcb6540\nMOV             X19, X0                                                ; +0x40, 0xcb6544\nMOV             X0, X3                                                 ; +0x44, 0xcb6548\nBLR             X6                                                     ; +0x48, 0xcb654c\nLDR             S2, [X19,#0x1DC]                                       ; +0x4c, 0xcb6550\nLDR             X0, [X19,#0x190]; this                                 ; +0x50, 0xcb6554\nFMOV            S0, #24.0                                              ; +0x54, 0xcb6558\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x58, 0xcb655c\nLDR             S1, flt_CB6580; float                                  ; +0x5c, 0xcb6560\nFSUB            S0, S2, S0; float                                      ; +0x60, 0xcb6564\nLDR             S2, flt_CB6584; float                                  ; +0x64, 0xcb6568\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x68, 0xcb656c\nB               _ZN7cocos2d13CCLabelBMFont15limitLabelWidthEfff; cocos2d::CCLabelBMFont::limitLabelWidth(float,float,float) ; +0x6c, 0xcb6570\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x70, 0xcb6574\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x74, 0xcb6578\nRET                                                                    ; +0x78, 0xcb657c", "xrefs": ["Dropdown::setSelectedIndex @ 0xcb65b4", "Dropdown::onRowSelected @ 0xcb660c", "<???> @ 0x5ef18"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}