{"type": "func", "start": 6443024224, "end": 6443024356, "name": "cocos2d::CCSprite::refreshTextureRect", "pseudocode": "// \n// cocos2d::CCSprite::refreshTextureRect from 0x18008bf60 to 0x18008bfe4 (132 bytes)\n// \n// 7 xrefs:\n// > <???> @ 0x1800ebc40\n// > <???> @ 0x1800ec118\n// > <???> @ 0x1800ecc98\n// > <???> @ 0x180103b50\n// > <???> @ 0x180106b48\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b5c04\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::refreshTextureRect(cocos2d::CCSprite *this, __int64 a2)\n{\n  bool v3; // al\n\n  v3 = this->m_fTlVertexMod != 0.0\n    || this->m_fTrVertexMod != 0.0\n    || this->m_fBlVertexMod != 0.0\n    || this->m_fBrVertexMod != 0.0;\n  this->m_bUseVertexMod = v3;\n  LOBYTE(a2) = 1;\n  ((void (__fastcall *)(cocos2d::CCSprite *, __int64))this->setDirty)(this, a2);\n  ((void (__fastcall *)(cocos2d::CCSprite *, cocos2d::CCRect *, bool, cocos2d::CCSize *))this->setTextureRect)(\n    this,\n    &this->m_obRect,\n    this->m_bRectRotated,\n    &this->m_obContentSize);\n}", "assembly": "; \n; cocos2d::CCSprite::refreshTextureRect from 0x18008bf60 to 0x18008bfe4 (132 bytes)\n; \n; 7 xrefs:\n; > <???> @ 0x1800ebc40\n; > <???> @ 0x1800ec118\n; > <???> @ 0x1800ecc98\n; > <???> @ 0x180103b50\n; > <???> @ 0x180106b48\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b5c04\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, 0x18008bf60\nsub     rsp, 20h                                                       ; +0x2, 0x18008bf62\nmovss   xmm0, dword ptr [rcx+234h]                                     ; +0x6, 0x18008bf66\nxorps   xmm1, xmm1                                                     ; +0xe, 0x18008bf6e\nucomiss xmm0, xmm1                                                     ; +0x11, 0x18008bf71\nmov     rbx, rcx                                                       ; +0x14, 0x18008bf74\njp      short loc_18008BFAC                                            ; +0x17, 0x18008bf77\njnz     short loc_18008BFAC                                            ; +0x19, 0x18008bf79\nmovss   xmm0, dword ptr [rcx+238h]                                     ; +0x1b, 0x18008bf7b\nucomiss xmm0, xmm1                                                     ; +0x23, 0x18008bf83\njp      short loc_18008BFAC                                            ; +0x26, 0x18008bf86\njnz     short loc_18008BFAC                                            ; +0x28, 0x18008bf88\nmovss   xmm0, dword ptr [rcx+23Ch]                                     ; +0x2a, 0x18008bf8a\nucomiss xmm0, xmm1                                                     ; +0x32, 0x18008bf92\njp      short loc_18008BFAC                                            ; +0x35, 0x18008bf95\njnz     short loc_18008BFAC                                            ; +0x37, 0x18008bf97\nmovss   xmm0, dword ptr [rcx+240h]                                     ; +0x39, 0x18008bf99\nucomiss xmm0, xmm1                                                     ; +0x41, 0x18008bfa1\njp      short loc_18008BFAC                                            ; +0x44, 0x18008bfa4\njnz     short loc_18008BFAC                                            ; +0x46, 0x18008bfa6\nxor     al, al                                                         ; +0x48, 0x18008bfa8\njmp     short loc_18008BFAE                                            ; +0x4a, 0x18008bfaa\nmov     al, 1                                                          ; +0x4c, 0x18008bfac\nmov     [rcx+230h], al                                                 ; +0x4e, 0x18008bfae\nmov     dl, 1                                                          ; +0x54, 0x18008bfb4\nmov     rax, [rcx]                                                     ; +0x56, 0x18008bfb6\ncall    qword ptr [rax+408h]                                           ; +0x59, 0x18008bfb9\nmov     rax, [rbx]                                                     ; +0x5f, 0x18008bfbf\nlea     r9, [rbx+6Ch]                                                  ; +0x62, 0x18008bfc2\nmovzx   r8d, byte ptr [rbx+1B8h]                                       ; +0x66, 0x18008bfc6\nlea     rdx, [rbx+1A8h]                                                ; +0x6e, 0x18008bfce\nmov     rcx, rbx                                                       ; +0x75, 0x18008bfd5\nadd     rsp, 20h                                                       ; +0x78, 0x18008bfd8\npop     rbx                                                            ; +0x7c, 0x18008bfdc\njmp     qword ptr [rax+3C8h]                                           ; +0x7d, 0x18008bfdd", "xrefs": ["<???> @ 0x1800ebc40", "<???> @ 0x1800ec118", "<???> @ 0x1800ecc98", "<???> @ 0x180103b50", "<???> @ 0x180106b48", "<???> @ 0x1801438a8", "<???> @ 0x1801b5c04"], "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"}