{"type": "func", "start": 6443026656, "end": 6443026757, "name": "cocos2d::CCSprite::setScaleX", "pseudocode": "// \n// cocos2d::CCSprite::setScaleX from 0x18008c8e0 to 0x18008c945 (101 bytes)\n// \n// 7 xrefs:\n// > <???> @ 0x1800eb8f8\n// > <???> @ 0x1800ebdd0\n// > <???> @ 0x1800ec950\n// > <???> @ 0x180103808\n// > <???> @ 0x180106800\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b5dfc\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::CCSprite::setScaleX(cocos2d::CCSprite *this, float a2)\n{\n  __int64 v3; // rdx\n  cocos2d::CCSprite_vtbl *v4; // rax\n  __int64 v5; // rdx\n\n  if ( this->m_fScaleX != a2 )\n  {\n    cocos2d::CCNode::setScaleX(this, a2);\n    if ( this->m_pobBatchNode )\n    {\n      if ( !this->m_bRecursiveDirty )\n      {\n        v4 = this->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n        LOBYTE(v3) = 1;\n        this->m_bRecursiveDirty = 1;\n        ((void (__fastcall *)(cocos2d::CCSprite *, __int64))v4->setDirty)(this, v3);\n        if ( this->m_bHasChildren )\n        {\n          LOBYTE(v5) = 1;\n          ((void (__fastcall *)(cocos2d::CCSprite *, __int64))this->setDirtyRecursively)(this, v5);\n        }\n      }\n    }\n  }\n}", "assembly": "; \n; cocos2d::CCSprite::setScaleX from 0x18008c8e0 to 0x18008c945 (101 bytes)\n; \n; 7 xrefs:\n; > <???> @ 0x1800eb8f8\n; > <???> @ 0x1800ebdd0\n; > <???> @ 0x1800ec950\n; > <???> @ 0x180103808\n; > <???> @ 0x180106800\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b5dfc\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, 0x18008c8e0\nsub     rsp, 20h                                                       ; +0x2, 0x18008c8e2\nmovss   xmm0, dword ptr [rcx+40h]                                      ; +0x6, 0x18008c8e6\nmov     rbx, rcx                                                       ; +0xb, 0x18008c8eb\nucomiss xmm0, xmm1                                                     ; +0xe, 0x18008c8ee\njp      short loc_18008C8F5                                            ; +0x11, 0x18008c8f1\njz      short loc_18008C93F                                            ; +0x13, 0x18008c8f3\ncall    ?setScaleX@CCNode@cocos2d@@UEAAXM@Z; cocos2d::CCNode::setScaleX(float) ; +0x15, 0x18008c8f5\ncmp     qword ptr [rbx+170h], 0                                        ; +0x1a, 0x18008c8fa\njz      short loc_18008C93F                                            ; +0x22, 0x18008c902\ncmp     byte ptr [rbx+179h], 0                                         ; +0x24, 0x18008c904\njnz     short loc_18008C93F                                            ; +0x2b, 0x18008c90b\nmov     rax, [rbx]                                                     ; +0x2d, 0x18008c90d\nmov     dl, 1                                                          ; +0x30, 0x18008c910\nmov     rcx, rbx                                                       ; +0x32, 0x18008c912\nmov     byte ptr [rbx+179h], 1                                         ; +0x35, 0x18008c915\ncall    qword ptr [rax+408h]                                           ; +0x3c, 0x18008c91c\ncmp     byte ptr [rbx+17Ah], 0                                         ; +0x42, 0x18008c922\njz      short loc_18008C93F                                            ; +0x49, 0x18008c929\nmov     rax, [rbx]                                                     ; +0x4b, 0x18008c92b\nmov     dl, 1                                                          ; +0x4e, 0x18008c92e\nmov     rcx, rbx                                                       ; +0x50, 0x18008c930\nadd     rsp, 20h                                                       ; +0x53, 0x18008c933\npop     rbx                                                            ; +0x57, 0x18008c937\njmp     qword ptr [rax+428h]                                           ; +0x58, 0x18008c938\nadd     rsp, 20h                                                       ; +0x5f, 0x18008c93f\npop     rbx                                                            ; +0x63, 0x18008c943\nretn                                                                   ; +0x64, 0x18008c944", "xrefs": ["<???> @ 0x1800eb8f8", "<???> @ 0x1800ebdd0", "<???> @ 0x1800ec950", "<???> @ 0x180103808", "<???> @ 0x180106800", "<???> @ 0x1801438a8", "<???> @ 0x1801b5dfc"], "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"}