{"type": "func", "start": 7790128, "end": 7790192, "name": "DeathMarkerSettingsPopup::updateTimescaleLabel", "pseudocode": "// \n// DeathMarkerSettingsPopup::updateTimescaleLabel from 0x76de30 to 0x76de70 (64 bytes)\n// \n// 2 xrefs:\n// > DeathMarkerSettingsPopup::onTimescaleSlider @ 0x76df26\n// > DeathMarkerSettingsPopup::init @ 0x76e7be\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:13 +0000\n// \n\nint __fastcall DeathMarkerSettingsPopup::updateTimescaleLabel(int this, const char *a2)\n{\n  int v2; // r4\n  int (__fastcall *v3)(int, int); // r5\n  cocos2d::CCString *v4; // r0\n  int CString; // r0\n\n  v2 = *(_DWORD *)(this + 728);\n  if ( v2 )\n  {\n    v3 = *(int (__fastcall **)(int, int))(*(_DWORD *)v2 + 464);\n    v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(\n                                (cocos2d::CCString *)\"%.1fx\",\n                                a2,\n                                (float)((float)(int)a2 / 100.0));\n    CString = cocos2d::CCString::getCString(v4);\n    return v3(v2, CString);\n  }\n  return this;\n}", "assembly": "; \n; DeathMarkerSettingsPopup::updateTimescaleLabel from 0x76de30 to 0x76de70 (64 bytes)\n; \n; 2 xrefs:\n; > DeathMarkerSettingsPopup::onTimescaleSlider @ 0x76df26\n; > DeathMarkerSettingsPopup::init @ 0x76e7be\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:13 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x76de30\nVMOV            S15, R1; char *                                        ; +0x2, 0x76de32\nLDR.W           R4, [R0,#0x2D8]                                        ; +0x6, 0x76de36\nCBZ             R4, locret_76DE6E                                      ; +0xa, 0x76de3a\nVCVT.F32.S32    S15, S15                                               ; +0xc, 0x76de3c\nLDR             R3, [R4]                                               ; +0x10, 0x76de40\nVLDR            S14, =100.0                                            ; +0x12, 0x76de42\nLDR             R0, =(a1fx - 0x76DE50); \"%.1fx\"                        ; +0x16, 0x76de46\nLDR.W           R5, [R3,#0x1D0]                                        ; +0x18, 0x76de48\nADD             R0, PC; \"%.1fx\"                                        ; +0x1c, 0x76de4c\nVDIV.F32        S15, S15, S14                                          ; +0x1e, 0x76de4e\nVCVT.F64.F32    D7, S15                                                ; +0x22, 0x76de52\nVMOV            R2, R3, D7                                             ; +0x26, 0x76de56\nBL              _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x2a, 0x76de5a\nBL              _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x2e, 0x76de5e\nMOV             R3, R5                                                 ; +0x32, 0x76de62\nMOV             R1, R0                                                 ; +0x34, 0x76de64\nMOV             R0, R4                                                 ; +0x36, 0x76de66\nPOP.W           {R4-R6,LR}                                             ; +0x38, 0x76de68\nBX              R3                                                     ; +0x3c, 0x76de6c\nPOP             {R4-R6,PC}                                             ; +0x3e, 0x76de6e", "xrefs": ["DeathMarkerSettingsPopup::onTimescaleSlider @ 0x76df26", "DeathMarkerSettingsPopup::init @ 0x76e7be"], "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"}