{"type": "func", "start": 5369005568, "end": 5369005657, "name": "CCSpriteWithHue::initWithTexture", "pseudocode": "// \n// CCSpriteWithHue::initWithTexture from 0x140048600 to 0x140048659 (89 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x140530fa0\n// > <???> @ 0x1405314e0\n// > <???> @ 0x1406c4b90\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 CCSpriteWithHue::initWithTexture(\n        CCSpriteWithHue *a1,\n        cocos2d::CCTexture2D *a2,\n        const 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    a1->m_hue = 0.0;\n    a1->m_luminance._Elems[0] = 0.20999999;\n    a1->m_luminance._Elems[1] = 0.72000003;\n    a1->m_luminance._Elems[2] = 0.07;\n    CCSpriteWithHue::initShader(a1);\n    return v6;\n  }\n  return result;\n}", "assembly": "; \n; CCSpriteWithHue::initWithTexture from 0x140048600 to 0x140048659 (89 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x140530fa0\n; > <???> @ 0x1405314e0\n; > <???> @ 0x1406c4b90\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140048600\npush    rdi                                                            ; +0x5, 0x140048605\nsub     rsp, 20h                                                       ; +0x6, 0x140048606\nmov     rbx, rcx                                                       ; +0xa, 0x14004860a\ncall    cs:__imp_?initWithTexture@CCSprite@cocos2d@@UEAA_NPEAVCCTexture2D@2@AEBVCCRect@2@_N@Z; cocos2d::CCSprite::initWithTexture(cocos2d::CCTexture2D *,cocos2d::CCRect const &,bool) ; +0xd, 0x14004860d\nmovzx   edi, al                                                        ; +0x13, 0x140048613\ntest    al, al                                                         ; +0x16, 0x140048616\njz      short loc_14004864E                                            ; +0x18, 0x140048618\nmov     rcx, rbx                                                       ; +0x1a, 0x14004861a\nmov     dword ptr [rbx+258h], 0                                        ; +0x1d, 0x14004861d\nmov     dword ptr [rbx+25Ch], 3E570A3Dh                                ; +0x27, 0x140048627\nmov     dword ptr [rbx+260h], 3F3851ECh                                ; +0x31, 0x140048631\nmov     dword ptr [rbx+264h], 3D8F5C29h                                ; +0x3b, 0x14004863b\ncall    CCSpriteWithHue__initShader                                    ; +0x45, 0x140048645\nmovzx   eax, dil                                                       ; +0x4a, 0x14004864a\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x4e, 0x14004864e\nadd     rsp, 20h                                                       ; +0x53, 0x140048653\npop     rdi                                                            ; +0x57, 0x140048657\nretn                                                                   ; +0x58, 0x140048658", "xrefs": ["<???> @ 0x140530fa0", "<???> @ 0x1405314e0", "<???> @ 0x1406c4b90"], "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"}