{"type": "func", "start": 4302057632, "end": 4302057683, "name": "CCSpriteWithHue::initWithTexture", "pseudocode": "// \n// CCSpriteWithHue::initWithTexture from 0x1006c30a0 to 0x1006c30d3 (51 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x100b8d9f0\n// > <???> @ 0x100b8dfb8\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 12:35:32 +0000\n// \n\nchar __fastcall CCSpriteWithHue::initWithTexture(__int64 a1, __int64 a2, __int64 a3, unsigned __int8 a4)\n{\n  char result; // al\n  char v5; // bl\n\n  result = cocos2d::CCSprite::initWithTexture(a1, a2, a3, a4);\n  if ( result )\n  {\n    *(_OWORD *)(a1 + 596) = xmmword_100A10930;\n    v5 = result;\n    CCSpriteWithHue::initShader(a1);\n    return v5;\n  }\n  return result;\n}", "assembly": "; \n; CCSpriteWithHue::initWithTexture from 0x1006c30a0 to 0x1006c30d3 (51 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x100b8d9f0\n; > <???> @ 0x100b8dfb8\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 12:35:32 +0000\n; \npush    rbp                                                            ; +0x0, 0x1006c30a0\nmov     rbp, rsp                                                       ; +0x1, 0x1006c30a1\npush    rbx                                                            ; +0x4, 0x1006c30a4\npush    rax                                                            ; +0x5, 0x1006c30a5\nmov     rbx, rdi                                                       ; +0x6, 0x1006c30a6\ncall    cocos2d__CCSprite__initWithTexture                             ; +0x9, 0x1006c30a9\ntest    al, al                                                         ; +0xe, 0x1006c30ae\njz      short loc_1006C30CC                                            ; +0x10, 0x1006c30b0\nmovaps  xmm0, cs:xmmword_100A10930                                     ; +0x12, 0x1006c30b2\nmovups  xmmword ptr [rbx+254h], xmm0                                   ; +0x19, 0x1006c30b9\nmov     rdi, rbx                                                       ; +0x20, 0x1006c30c0\nmov     ebx, eax                                                       ; +0x23, 0x1006c30c3\ncall    CCSpriteWithHue__initShader                                    ; +0x25, 0x1006c30c5\nmov     eax, ebx                                                       ; +0x2a, 0x1006c30ca\nadd     rsp, 8                                                         ; +0x2c, 0x1006c30cc\npop     rbx                                                            ; +0x30, 0x1006c30d0\npop     rbp                                                            ; +0x31, 0x1006c30d1\nretn                                                                   ; +0x32, 0x1006c30d2", "xrefs": ["<???> @ 0x100b8d9f0", "<???> @ 0x100b8dfb8"], "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"}