{"type": "func", "start": 6442476384, "end": 6442476504, "name": "cocos2d::extension::CCControlButton::setTitleTTFSizeForState", "pseudocode": "// \n// cocos2d::extension::CCControlButton::setTitleTTFSizeForState from 0x180006360 to 0x1800063d8 (120 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x180026720\n// > <???> @ 0x18002a698\n// > <???> @ 0x180032408\n// > <???> @ 0x18004b5dc\n// \n// This function is hookable on this platform (idp: pc, 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 12:15:36 +0000\n// \n\nvoid __fastcall cocos2d::extension::CCControlButton::setTitleTTFSizeForState(\n        cocos2d::extension::CCControlButton *this,\n        float a2,\n        unsigned int a3)\n{\n  __int64 v3; // rax\n  __int64 v4; // rax\n  cocos2d::CCLabelTTF *v5; // rax\n\n  v3 = (*(__int64 (__fastcall **)(cocos2d::extension::CCControlButton *, _QWORD))(*(_QWORD *)this + 1240LL))(this, a3);\n  v4 = _RTDynamicCast(\n         v3,\n         0,\n         &cocos2d::CCNode `RTTI Type Descriptor',\n         &cocos2d::CCLabelProtocol `RTTI Type Descriptor',\n         0);\n  if ( v4 )\n  {\n    v5 = (cocos2d::CCLabelTTF *)_RTDynamicCast(\n                                  v4,\n                                  0,\n                                  &cocos2d::CCLabelProtocol `RTTI Type Descriptor',\n                                  &cocos2d::CCLabelTTF `RTTI Type Descriptor',\n                                  0);\n    if ( v5 )\n      cocos2d::CCLabelTTF::setFontSize(v5, a2);\n  }\n}", "assembly": "; \n; cocos2d::extension::CCControlButton::setTitleTTFSizeForState from 0x180006360 to 0x1800063d8 (120 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x180026720\n; > <???> @ 0x18002a698\n; > <???> @ 0x180032408\n; > <???> @ 0x18004b5dc\n; \n; This function is hookable on this platform (idp: pc, 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 12:15:36 +0000\n; \nsub     rsp, 48h                                                       ; +0x0, 0x180006360\nmov     rax, [rcx]                                                     ; +0x4, 0x180006364\nmov     edx, r8d                                                       ; +0x7, 0x180006367\nmovaps  [rsp+48h+var_18], xmm6                                         ; +0xa, 0x18000636a\nmovaps  xmm6, xmm1                                                     ; +0xf, 0x18000636f\ncall    qword ptr [rax+4D8h]                                           ; +0x12, 0x180006372\nlea     r9, ??_R0?AVCCLabelProtocol@cocos2d@@@8; cocos2d::CCLabelProtocol `RTTI Type Descriptor' ; +0x18, 0x180006378\nmov     [rsp+48h+var_28], 0                                            ; +0x1f, 0x18000637f\nmov     rcx, rax                                                       ; +0x27, 0x180006387\nlea     r8, ??_R0?AVCCNode@cocos2d@@@8; cocos2d::CCNode `RTTI Type Descriptor' ; +0x2a, 0x18000638a\nxor     edx, edx                                                       ; +0x31, 0x180006391\ncall    __RTDynamicCast                                                ; +0x33, 0x180006393\ntest    rax, rax                                                       ; +0x38, 0x180006398\njz      short loc_1800063CE                                            ; +0x3b, 0x18000639b\nlea     r9, ??_R0?AVCCLabelTTF@cocos2d@@@8; cocos2d::CCLabelTTF `RTTI Type Descriptor' ; +0x3d, 0x18000639d\nmov     [rsp+48h+var_28], 0                                            ; +0x44, 0x1800063a4\nlea     r8, ??_R0?AVCCLabelProtocol@cocos2d@@@8; cocos2d::CCLabelProtocol `RTTI Type Descriptor' ; +0x4c, 0x1800063ac\nxor     edx, edx                                                       ; +0x53, 0x1800063b3\nmov     rcx, rax                                                       ; +0x55, 0x1800063b5\ncall    __RTDynamicCast                                                ; +0x58, 0x1800063b8\ntest    rax, rax                                                       ; +0x5d, 0x1800063bd\njz      short loc_1800063CE                                            ; +0x60, 0x1800063c0\nmovaps  xmm1, xmm6                                                     ; +0x62, 0x1800063c2\nmov     rcx, rax                                                       ; +0x65, 0x1800063c5\ncall    cs:?setFontSize@CCLabelTTF@cocos2d@@QEAAXM@Z; cocos2d::CCLabelTTF::setFontSize(float) ; +0x68, 0x1800063c8\nmovaps  xmm6, [rsp+48h+var_18]                                         ; +0x6e, 0x1800063ce\nadd     rsp, 48h                                                       ; +0x73, 0x1800063d3\nretn                                                                   ; +0x77, 0x1800063d7", "xrefs": ["<???> @ 0x180026720", "<???> @ 0x18002a698", "<???> @ 0x180032408", "<???> @ 0x18004b5dc"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}