{"type": "func", "start": 6442772064, "end": 6442772141, "name": "cocos2d::CCLabelTTF::setDimensions", "pseudocode": "// \n// cocos2d::CCLabelTTF::setDimensions from 0x18004e660 to 0x18004e6ad (77 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b1cc8\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall cocos2d::CCLabelTTF::setDimensions(cocos2d::CCLabelTTF *this, struct cocos2d::CCSize *a2)\n{\n  cocos2d::CCSize *p_m_tDimensions; // rcx\n\n  p_m_tDimensions = &this->m_tDimensions;\n  if ( a2->width != p_m_tDimensions->width || a2->height != this->m_tDimensions.height )\n  {\n    cocos2d::CCSize::operator=(p_m_tDimensions, a2);\n    if ( this->m_string.m_data.m_size )\n      cocos2d::CCLabelTTF::updateTexture(this);\n  }\n}", "assembly": "; \n; cocos2d::CCLabelTTF::setDimensions from 0x18004e660 to 0x18004e6ad (77 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b1cc8\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x18004e660\nsub     rsp, 20h                                                       ; +0x2, 0x18004e662\nmovss   xmm0, dword ptr [rdx]                                          ; +0x6, 0x18004e666\nmov     rbx, rcx                                                       ; +0xa, 0x18004e66a\nadd     rcx, 260h                                                      ; +0xd, 0x18004e66d\nucomiss xmm0, dword ptr [rcx]                                          ; +0x14, 0x18004e674\njp      short loc_18004E68B                                            ; +0x17, 0x18004e677\njnz     short loc_18004E68B                                            ; +0x19, 0x18004e679\nmovss   xmm0, dword ptr [rdx+4]                                        ; +0x1b, 0x18004e67b\nucomiss xmm0, dword ptr [rbx+264h]                                     ; +0x20, 0x18004e680\njp      short loc_18004E68B                                            ; +0x27, 0x18004e687\njz      short loc_18004E6A7                                            ; +0x29, 0x18004e689\ncall    ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0x2b, 0x18004e68b\ncmp     qword ptr [rbx+290h], 0                                        ; +0x30, 0x18004e690\njbe     short loc_18004E6A7                                            ; +0x38, 0x18004e698\nmov     rcx, rbx; this                                                 ; +0x3a, 0x18004e69a\nadd     rsp, 20h                                                       ; +0x3d, 0x18004e69d\npop     rbx                                                            ; +0x41, 0x18004e6a1\njmp     ?updateTexture@CCLabelTTF@cocos2d@@AEAA_NXZ; cocos2d::CCLabelTTF::updateTexture(void) ; +0x42, 0x18004e6a2\nadd     rsp, 20h                                                       ; +0x47, 0x18004e6a7\npop     rbx                                                            ; +0x4b, 0x18004e6ab\nretn                                                                   ; +0x4c, 0x18004e6ac", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b1cc8"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}