{"type": "func", "start": 6442834320, "end": 6442834463, "name": "cocos2d::CCMenuItemLabel::setLabel", "pseudocode": "// \n// cocos2d::CCMenuItemLabel::setLabel from 0x18005d990 to 0x18005da1f (143 bytes)\n// \n// 7 xrefs:\n// > <???> @ 0x1800fded0\n// > <???> @ 0x1800fe328\n// > <???> @ 0x1800fe780\n// > <???> @ 0x180141e20\n// > <???> @ 0x180141e30\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bd1a4\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 11:21:49 +0000\n// \n\nvoid __fastcall cocos2d::CCMenuItemLabel::setLabel(\n        cocos2d::CCMenuItemLabel *this,\n        struct cocos2d::CCNode *a2,\n        __int64 a3)\n{\n  __int64 v5; // rbx\n  float *v6; // rax\n  __int64 v7; // rbx\n  __int64 v8; // rax\n  __int64 v9; // rdx\n  float v10; // [rsp+30h] [rbp+8h] BYREF\n\n  if ( a2 )\n  {\n    (*(void (**)(void))(*(_QWORD *)this + 464LL))();\n    v5 = *(_QWORD *)a2;\n    v6 = kmVec2Fill(&v10, 0.0, 0.0);\n    (*(void (__fastcall **)(struct cocos2d::CCNode *, float *))(v5 + 288))(a2, v6);\n    v7 = *(_QWORD *)this;\n    v8 = (*(__int64 (__fastcall **)(struct cocos2d::CCNode *))(*(_QWORD *)a2 + 320LL))(a2);\n    (*(void (__fastcall **)(cocos2d::CCMenuItemLabel *, __int64))(v7 + 312))(this, v8);\n  }\n  v9 = *((_QWORD *)this + 48);\n  if ( v9 )\n  {\n    LOBYTE(a3) = 1;\n    (*(void (__fastcall **)(cocos2d::CCMenuItemLabel *, __int64, __int64))(*(_QWORD *)this + 536LL))(this, v9, a3);\n  }\n  *((_QWORD *)this + 48) = a2;\n}", "assembly": "; \n; cocos2d::CCMenuItemLabel::setLabel from 0x18005d990 to 0x18005da1f (143 bytes)\n; \n; 7 xrefs:\n; > <???> @ 0x1800fded0\n; > <???> @ 0x1800fe328\n; > <???> @ 0x1800fe780\n; > <???> @ 0x180141e20\n; > <???> @ 0x180141e30\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bd1a4\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 11:21:49 +0000\n; \nmov     [rsp+arg_10], rsi                                              ; +0x0, 0x18005d990\npush    rdi                                                            ; +0x5, 0x18005d995\nsub     rsp, 20h                                                       ; +0x6, 0x18005d996\nmov     rsi, rdx                                                       ; +0xa, 0x18005d99a\nmov     rdi, rcx                                                       ; +0xd, 0x18005d99d\ntest    rdx, rdx                                                       ; +0x10, 0x18005d9a0\njz      short loc_18005D9F2                                            ; +0x13, 0x18005d9a3\nmov     rax, [rcx]                                                     ; +0x15, 0x18005d9a5\nmov     [rsp+28h+arg_8], rbx                                           ; +0x18, 0x18005d9a8\ncall    qword ptr [rax+1D0h]                                           ; +0x1d, 0x18005d9ad\nmov     rbx, [rsi]                                                     ; +0x23, 0x18005d9b3\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x26, 0x18005d9b6\nxorps   xmm2, xmm2                                                     ; +0x2b, 0x18005d9bb\nxorps   xmm1, xmm1                                                     ; +0x2e, 0x18005d9be\ncall    kmVec2Fill                                                     ; +0x31, 0x18005d9c1\nmov     rdx, rax                                                       ; +0x36, 0x18005d9c6\nmov     rcx, rsi                                                       ; +0x39, 0x18005d9c9\ncall    qword ptr [rbx+120h]                                           ; +0x3c, 0x18005d9cc\nmov     rax, [rsi]                                                     ; +0x42, 0x18005d9d2\nmov     rcx, rsi                                                       ; +0x45, 0x18005d9d5\nmov     rbx, [rdi]                                                     ; +0x48, 0x18005d9d8\ncall    qword ptr [rax+140h]                                           ; +0x4b, 0x18005d9db\nmov     rdx, rax                                                       ; +0x51, 0x18005d9e1\nmov     rcx, rdi                                                       ; +0x54, 0x18005d9e4\ncall    qword ptr [rbx+138h]                                           ; +0x57, 0x18005d9e7\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x5d, 0x18005d9ed\nmov     rdx, [rdi+180h]                                                ; +0x62, 0x18005d9f2\ntest    rdx, rdx                                                       ; +0x69, 0x18005d9f9\njz      short loc_18005DA0D                                            ; +0x6c, 0x18005d9fc\nmov     rax, [rdi]                                                     ; +0x6e, 0x18005d9fe\nmov     r8b, 1                                                         ; +0x71, 0x18005da01\nmov     rcx, rdi                                                       ; +0x74, 0x18005da04\ncall    qword ptr [rax+218h]                                           ; +0x77, 0x18005da07\nmov     [rdi+180h], rsi                                                ; +0x7d, 0x18005da0d\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x84, 0x18005da14\nadd     rsp, 20h                                                       ; +0x89, 0x18005da19\npop     rdi                                                            ; +0x8d, 0x18005da1d\nretn                                                                   ; +0x8e, 0x18005da1e", "xrefs": ["<???> @ 0x1800fded0", "<???> @ 0x1800fe328", "<???> @ 0x1800fe780", "<???> @ 0x180141e20", "<???> @ 0x180141e30", "<???> @ 0x18014cf68", "<???> @ 0x1801bd1a4"], "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"}