{"type": "func", "start": 4301193056, "end": 4301193107, "name": "CCSpriteWithHue::initWithTexture", "pseudocode": "// \n// CCSpriteWithHue::initWithTexture from 0x1005eff60 to 0x1005eff93 (51 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x10097a598\n// > <???> @ 0x10097ab50\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\nbool __fastcall CCSpriteWithHue::initWithTexture(\n        CCSpriteWithHue *a1,\n        cocos2d::CCTexture2D *a2,\n        const cocos2d::CCRect *a3,\n        bool a4)\n{\n  bool result; // al\n  bool v5; // bl\n\n  result = cocos2d::CCSprite::initWithTexture(a1, a2, a3, a4);\n  if ( result )\n  {\n    *(_OWORD *)&a1->m_hue = xmmword_100821A30;\n    v5 = result;\n    CCSpriteWithHue::initShader(a1);\n    return v5;\n  }\n  return result;\n}", "assembly": "; \n; CCSpriteWithHue::initWithTexture from 0x1005eff60 to 0x1005eff93 (51 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x10097a598\n; > <???> @ 0x10097ab50\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    rbp                                                            ; +0x0, 0x1005eff60\nmov     rbp, rsp                                                       ; +0x1, 0x1005eff61\npush    rbx                                                            ; +0x4, 0x1005eff64\npush    rax                                                            ; +0x5, 0x1005eff65\nmov     rbx, rdi                                                       ; +0x6, 0x1005eff66\ncall    cocos2d__CCSprite__initWithTexture                             ; +0x9, 0x1005eff69\ntest    al, al                                                         ; +0xe, 0x1005eff6e\njz      short loc_1005EFF8C                                            ; +0x10, 0x1005eff70\nmovaps  xmm0, cs:xmmword_100821A30                                     ; +0x12, 0x1005eff72\nmovups  xmmword ptr [rbx+254h], xmm0                                   ; +0x19, 0x1005eff79\nmov     rdi, rbx                                                       ; +0x20, 0x1005eff80\nmov     ebx, eax                                                       ; +0x23, 0x1005eff83\ncall    CCSpriteWithHue__initShader                                    ; +0x25, 0x1005eff85\nmov     eax, ebx                                                       ; +0x2a, 0x1005eff8a\nadd     rsp, 8                                                         ; +0x2c, 0x1005eff8c\npop     rbx                                                            ; +0x30, 0x1005eff90\npop     rbp                                                            ; +0x31, 0x1005eff91\nretn                                                                   ; +0x32, 0x1005eff92", "xrefs": ["<???> @ 0x10097a598", "<???> @ 0x10097ab50"], "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"}