{"type": "func", "start": 6443039456, "end": 6443039557, "name": "cocos2d::CCSprite::setScaleX", "pseudocode": "// \n// cocos2d::CCSprite::setScaleX from 0x18008fae0 to 0x18008fb45 (101 bytes)\n// \n// 7 xrefs:\n// > <???> @ 0x1800f19e8\n// > <???> @ 0x1800f1ed0\n// > <???> @ 0x1800f2a80\n// > <???> @ 0x180109ec0\n// > <???> @ 0x18010ced8\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c00b4\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::setScaleX(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 )\n  {\n    cocos2d::CCNode::setScaleX(this, a2);\n    if ( *((_QWORD *)this + 46) )\n    {\n      if ( !*((_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  }\n}", "assembly": "; \n; cocos2d::CCSprite::setScaleX from 0x18008fae0 to 0x18008fb45 (101 bytes)\n; \n; 7 xrefs:\n; > <???> @ 0x1800f19e8\n; > <???> @ 0x1800f1ed0\n; > <???> @ 0x1800f2a80\n; > <???> @ 0x180109ec0\n; > <???> @ 0x18010ced8\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c00b4\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, 0x18008fae0\nsub     rsp, 20h                                                       ; +0x2, 0x18008fae2\nmovss   xmm0, dword ptr [rcx+40h]                                      ; +0x6, 0x18008fae6\nmov     rbx, rcx                                                       ; +0xb, 0x18008faeb\nucomiss xmm0, xmm1                                                     ; +0xe, 0x18008faee\njp      short loc_18008FAF5                                            ; +0x11, 0x18008faf1\njz      short loc_18008FB3F                                            ; +0x13, 0x18008faf3\ncall    ?setScaleX@CCNode@cocos2d@@UEAAXM@Z; cocos2d::CCNode::setScaleX(float) ; +0x15, 0x18008faf5\ncmp     qword ptr [rbx+170h], 0                                        ; +0x1a, 0x18008fafa\njz      short loc_18008FB3F                                            ; +0x22, 0x18008fb02\ncmp     byte ptr [rbx+179h], 0                                         ; +0x24, 0x18008fb04\njnz     short loc_18008FB3F                                            ; +0x2b, 0x18008fb0b\nmov     rax, [rbx]                                                     ; +0x2d, 0x18008fb0d\nmov     dl, 1                                                          ; +0x30, 0x18008fb10\nmov     rcx, rbx                                                       ; +0x32, 0x18008fb12\nmov     byte ptr [rbx+179h], 1                                         ; +0x35, 0x18008fb15\ncall    qword ptr [rax+418h]                                           ; +0x3c, 0x18008fb1c\ncmp     byte ptr [rbx+17Ah], 0                                         ; +0x42, 0x18008fb22\njz      short loc_18008FB3F                                            ; +0x49, 0x18008fb29\nmov     rax, [rbx]                                                     ; +0x4b, 0x18008fb2b\nmov     dl, 1                                                          ; +0x4e, 0x18008fb2e\nmov     rcx, rbx                                                       ; +0x50, 0x18008fb30\nadd     rsp, 20h                                                       ; +0x53, 0x18008fb33\npop     rbx                                                            ; +0x57, 0x18008fb37\njmp     qword ptr [rax+438h]                                           ; +0x58, 0x18008fb38\nadd     rsp, 20h                                                       ; +0x5f, 0x18008fb3f\npop     rbx                                                            ; +0x63, 0x18008fb43\nretn                                                                   ; +0x64, 0x18008fb44", "xrefs": ["<???> @ 0x1800f19e8", "<???> @ 0x1800f1ed0", "<???> @ 0x1800f2a80", "<???> @ 0x180109ec0", "<???> @ 0x18010ced8", "<???> @ 0x18014cf68", "<???> @ 0x1801c00b4"], "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"}