{"type": "func", "start": 6443039328, "end": 6443039441, "name": "cocos2d::CCSprite::setScale", "pseudocode": "// \n// cocos2d::CCSprite::setScale from 0x18008fa60 to 0x18008fad1 (113 bytes)\n// \n// 7 xrefs:\n// > <???> @ 0x1800f1a10\n// > <???> @ 0x1800f1ef8\n// > <???> @ 0x1800f2aa8\n// > <???> @ 0x180109ee8\n// > <???> @ 0x18010cf00\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c00a8\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:22:07 +0000\n// \n\nvoid __fastcall cocos2d::CCSprite::setScale(cocos2d::CCSprite *this, float a2)\n{\n  __int64 v3; // rdx\n  __int64 v4; // rax\n  __int64 v5; // rdx\n\n  if ( *((float *)this + 16) != a2 || *((float *)this + 17) != a2 )\n  {\n    cocos2d::CCNode::setScale(this, a2);\n    if ( *((_QWORD *)this + 46) && !*((_BYTE *)this + 377) )\n    {\n      v4 = *(_QWORD *)this;\n      LOBYTE(v3) = 1;\n      *((_BYTE *)this + 377) = 1;\n      (*(void (__fastcall **)(cocos2d::CCSprite *, __int64))(v4 + 1048))(this, v3);\n      if ( *((_BYTE *)this + 378) )\n      {\n        LOBYTE(v5) = 1;\n        (*(void (__fastcall **)(cocos2d::CCSprite *, __int64))(*(_QWORD *)this + 1080LL))(this, v5);\n      }\n    }\n  }\n}", "assembly": "; \n; cocos2d::CCSprite::setScale from 0x18008fa60 to 0x18008fad1 (113 bytes)\n; \n; 7 xrefs:\n; > <???> @ 0x1800f1a10\n; > <???> @ 0x1800f1ef8\n; > <???> @ 0x1800f2aa8\n; > <???> @ 0x180109ee8\n; > <???> @ 0x18010cf00\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c00a8\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:22:07 +0000\n; \npush    rbx                                                            ; +0x0, 0x18008fa60\nsub     rsp, 20h                                                       ; +0x2, 0x18008fa62\nmovss   xmm0, dword ptr [rcx+40h]                                      ; +0x6, 0x18008fa66\nmov     rbx, rcx                                                       ; +0xb, 0x18008fa6b\nucomiss xmm0, xmm1                                                     ; +0xe, 0x18008fa6e\njp      short loc_18008FA81                                            ; +0x11, 0x18008fa71\njnz     short loc_18008FA81                                            ; +0x13, 0x18008fa73\nmovss   xmm0, dword ptr [rcx+44h]                                      ; +0x15, 0x18008fa75\nucomiss xmm0, xmm1                                                     ; +0x1a, 0x18008fa7a\njp      short loc_18008FA81                                            ; +0x1d, 0x18008fa7d\njz      short loc_18008FACB                                            ; +0x1f, 0x18008fa7f\ncall    ?setScale@CCNode@cocos2d@@UEAAXM@Z; cocos2d::CCNode::setScale(float) ; +0x21, 0x18008fa81\ncmp     qword ptr [rbx+170h], 0                                        ; +0x26, 0x18008fa86\njz      short loc_18008FACB                                            ; +0x2e, 0x18008fa8e\ncmp     byte ptr [rbx+179h], 0                                         ; +0x30, 0x18008fa90\njnz     short loc_18008FACB                                            ; +0x37, 0x18008fa97\nmov     rax, [rbx]                                                     ; +0x39, 0x18008fa99\nmov     dl, 1                                                          ; +0x3c, 0x18008fa9c\nmov     rcx, rbx                                                       ; +0x3e, 0x18008fa9e\nmov     byte ptr [rbx+179h], 1                                         ; +0x41, 0x18008faa1\ncall    qword ptr [rax+418h]                                           ; +0x48, 0x18008faa8\ncmp     byte ptr [rbx+17Ah], 0                                         ; +0x4e, 0x18008faae\njz      short loc_18008FACB                                            ; +0x55, 0x18008fab5\nmov     rax, [rbx]                                                     ; +0x57, 0x18008fab7\nmov     dl, 1                                                          ; +0x5a, 0x18008faba\nmov     rcx, rbx                                                       ; +0x5c, 0x18008fabc\nadd     rsp, 20h                                                       ; +0x5f, 0x18008fabf\npop     rbx                                                            ; +0x63, 0x18008fac3\njmp     qword ptr [rax+438h]                                           ; +0x64, 0x18008fac4\nadd     rsp, 20h                                                       ; +0x6b, 0x18008facb\npop     rbx                                                            ; +0x6f, 0x18008facf\nretn                                                                   ; +0x70, 0x18008fad0", "xrefs": ["<???> @ 0x1800f1a10", "<???> @ 0x1800f1ef8", "<???> @ 0x1800f2aa8", "<???> @ 0x180109ee8", "<???> @ 0x18010cf00", "<???> @ 0x18014cf68", "<???> @ 0x1801c00a8"], "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"}