{"type": "func", "start": 6443037008, "end": 6443037140, "name": "cocos2d::CCSprite::refreshTextureRect", "pseudocode": "// \n// cocos2d::CCSprite::refreshTextureRect from 0x18008f150 to 0x18008f1d4 (132 bytes)\n// \n// 7 xrefs:\n// > <???> @ 0x1800f1d40\n// > <???> @ 0x1800f2228\n// > <???> @ 0x1800f2dd8\n// > <???> @ 0x18010a218\n// > <???> @ 0x18010d230\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bfed4\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::refreshTextureRect(cocos2d::CCSprite *this, __int64 a2)\n{\n  bool v3; // al\n\n  v3 = *((float *)this + 141) != 0.0\n    || *((float *)this + 142) != 0.0\n    || *((float *)this + 143) != 0.0\n    || *((float *)this + 144) != 0.0;\n  *((_BYTE *)this + 560) = v3;\n  LOBYTE(a2) = 1;\n  (*(void (__fastcall **)(cocos2d::CCSprite *, __int64))(*(_QWORD *)this + 1048LL))(this, a2);\n  (*(void (__fastcall **)(cocos2d::CCSprite *, char *, _QWORD, char *))(*(_QWORD *)this + 984LL))(\n    this,\n    (char *)this + 424,\n    *((unsigned __int8 *)this + 440),\n    (char *)this + 108);\n}", "assembly": "; \n; cocos2d::CCSprite::refreshTextureRect from 0x18008f150 to 0x18008f1d4 (132 bytes)\n; \n; 7 xrefs:\n; > <???> @ 0x1800f1d40\n; > <???> @ 0x1800f2228\n; > <???> @ 0x1800f2dd8\n; > <???> @ 0x18010a218\n; > <???> @ 0x18010d230\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bfed4\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, 0x18008f150\nsub     rsp, 20h                                                       ; +0x2, 0x18008f152\nmovss   xmm0, dword ptr [rcx+234h]                                     ; +0x6, 0x18008f156\nxorps   xmm1, xmm1                                                     ; +0xe, 0x18008f15e\nucomiss xmm0, xmm1                                                     ; +0x11, 0x18008f161\nmov     rbx, rcx                                                       ; +0x14, 0x18008f164\njp      short loc_18008F19C                                            ; +0x17, 0x18008f167\njnz     short loc_18008F19C                                            ; +0x19, 0x18008f169\nmovss   xmm0, dword ptr [rcx+238h]                                     ; +0x1b, 0x18008f16b\nucomiss xmm0, xmm1                                                     ; +0x23, 0x18008f173\njp      short loc_18008F19C                                            ; +0x26, 0x18008f176\njnz     short loc_18008F19C                                            ; +0x28, 0x18008f178\nmovss   xmm0, dword ptr [rcx+23Ch]                                     ; +0x2a, 0x18008f17a\nucomiss xmm0, xmm1                                                     ; +0x32, 0x18008f182\njp      short loc_18008F19C                                            ; +0x35, 0x18008f185\njnz     short loc_18008F19C                                            ; +0x37, 0x18008f187\nmovss   xmm0, dword ptr [rcx+240h]                                     ; +0x39, 0x18008f189\nucomiss xmm0, xmm1                                                     ; +0x41, 0x18008f191\njp      short loc_18008F19C                                            ; +0x44, 0x18008f194\njnz     short loc_18008F19C                                            ; +0x46, 0x18008f196\nxor     al, al                                                         ; +0x48, 0x18008f198\njmp     short loc_18008F19E                                            ; +0x4a, 0x18008f19a\nmov     al, 1                                                          ; +0x4c, 0x18008f19c\nmov     [rcx+230h], al                                                 ; +0x4e, 0x18008f19e\nmov     dl, 1                                                          ; +0x54, 0x18008f1a4\nmov     rax, [rcx]                                                     ; +0x56, 0x18008f1a6\ncall    qword ptr [rax+418h]                                           ; +0x59, 0x18008f1a9\nmov     rax, [rbx]                                                     ; +0x5f, 0x18008f1af\nlea     r9, [rbx+6Ch]                                                  ; +0x62, 0x18008f1b2\nmovzx   r8d, byte ptr [rbx+1B8h]                                       ; +0x66, 0x18008f1b6\nlea     rdx, [rbx+1A8h]                                                ; +0x6e, 0x18008f1be\nmov     rcx, rbx                                                       ; +0x75, 0x18008f1c5\nadd     rsp, 20h                                                       ; +0x78, 0x18008f1c8\npop     rbx                                                            ; +0x7c, 0x18008f1cc\njmp     qword ptr [rax+3D8h]                                           ; +0x7d, 0x18008f1cd", "xrefs": ["<???> @ 0x1800f1d40", "<???> @ 0x1800f2228", "<???> @ 0x1800f2dd8", "<???> @ 0x18010a218", "<???> @ 0x18010d230", "<???> @ 0x18014cf68", "<???> @ 0x1801bfed4"], "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"}