{"type": "func", "start": 5369022128, "end": 5369022217, "name": "CCSpriteWithHue::initWithTexture", "pseudocode": "// \n// CCSpriteWithHue::initWithTexture from 0x14004c6b0 to 0x14004c709 (89 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x14070bc30\n// > <???> @ 0x14070c180\n// > <???> @ 0x14091007c\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:25:33 +0000\n// \n\nbool __fastcall CCSpriteWithHue::initWithTexture(\n        cocos2d::CCSprite *a1,\n        struct cocos2d::CCTexture2D *a2,\n        const struct cocos2d::CCRect *a3,\n        bool a4)\n{\n  bool result; // al\n  bool v6; // di\n\n  result = cocos2d::CCSprite::initWithTexture(a1, a2, a3, a4);\n  v6 = result;\n  if ( result )\n  {\n    *((_DWORD *)a1 + 150) = 0;\n    *((_DWORD *)a1 + 151) = 1045891645;\n    *((_DWORD *)a1 + 152) = 1060655596;\n    *((_DWORD *)a1 + 153) = 1032805417;\n    CCSpriteWithHue::initShader(a1);\n    return v6;\n  }\n  return result;\n}", "assembly": "; \n; CCSpriteWithHue::initWithTexture from 0x14004c6b0 to 0x14004c709 (89 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x14070bc30\n; > <???> @ 0x14070c180\n; > <???> @ 0x14091007c\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:25:33 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14004c6b0\npush    rdi                                                            ; +0x5, 0x14004c6b5\nsub     rsp, 20h                                                       ; +0x6, 0x14004c6b6\nmov     rbx, rcx                                                       ; +0xa, 0x14004c6ba\ncall    cs:__imp_?initWithTexture@CCSprite@cocos2d@@UEAA_NPEAVCCTexture2D@2@AEBVCCRect@2@_N@Z; cocos2d::CCSprite::initWithTexture(cocos2d::CCTexture2D *,cocos2d::CCRect const &,bool) ; +0xd, 0x14004c6bd\nmovzx   edi, al                                                        ; +0x13, 0x14004c6c3\ntest    al, al                                                         ; +0x16, 0x14004c6c6\njz      short loc_14004C6FE                                            ; +0x18, 0x14004c6c8\nmov     rcx, rbx                                                       ; +0x1a, 0x14004c6ca\nmov     dword ptr [rbx+258h], 0                                        ; +0x1d, 0x14004c6cd\nmov     dword ptr [rbx+25Ch], 3E570A3Dh                                ; +0x27, 0x14004c6d7\nmov     dword ptr [rbx+260h], 3F3851ECh                                ; +0x31, 0x14004c6e1\nmov     dword ptr [rbx+264h], 3D8F5C29h                                ; +0x3b, 0x14004c6eb\ncall    CCSpriteWithHue__initShader                                    ; +0x45, 0x14004c6f5\nmovzx   eax, dil                                                       ; +0x4a, 0x14004c6fa\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x4e, 0x14004c6fe\nadd     rsp, 20h                                                       ; +0x53, 0x14004c703\npop     rdi                                                            ; +0x57, 0x14004c707\nretn                                                                   ; +0x58, 0x14004c708", "xrefs": ["<???> @ 0x14070bc30", "<???> @ 0x14070c180", "<???> @ 0x14091007c"], "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"}