{"type": "func", "start": 4302057568, "end": 4302057621, "name": "CCSpriteWithHue::createWithSpriteFrameName", "pseudocode": "// \n// CCSpriteWithHue::createWithSpriteFrameName from 0x1006c3060 to 0x1006c3095 (53 bytes)\n// \n// 4 xrefs:\n// > RewardUnlockLayer::init @ 0x1001ffa82\n// > GJShopLayer::init @ 0x10030eb9e\n// > GJShopLayer::init @ 0x10030ee48\n// > SecretLayer5::init @ 0x10046f10e\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\n__int64 (__fastcall ***__fastcall CCSpriteWithHue::createWithSpriteFrameName(__int64 a1))()\n{\n  __int64 v1; // rax\n  const char *v2; // rbx\n  __int64 v3; // rax\n\n  v1 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();\n  if ( (*(_BYTE *)a1 & 1) != 0 )\n    v2 = *(const char **)(a1 + 16);\n  else\n    v2 = (const char *)(a1 + 1);\n  v3 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v1, v2);\n  return CCSpriteWithHue::createWithSpriteFrame(v3);\n}", "assembly": "; \n; CCSpriteWithHue::createWithSpriteFrameName from 0x1006c3060 to 0x1006c3095 (53 bytes)\n; \n; 4 xrefs:\n; > RewardUnlockLayer::init @ 0x1001ffa82\n; > GJShopLayer::init @ 0x10030eb9e\n; > GJShopLayer::init @ 0x10030ee48\n; > SecretLayer5::init @ 0x10046f10e\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, 0x1006c3060\nmov     rbp, rsp                                                       ; +0x1, 0x1006c3061\npush    rbx                                                            ; +0x4, 0x1006c3064\npush    rax                                                            ; +0x5, 0x1006c3065\nmov     rbx, rdi                                                       ; +0x6, 0x1006c3066\ncall    cocos2d__CCSpriteFrameCache__sharedSpriteFrameCache            ; +0x9, 0x1006c3069\ntest    byte ptr [rbx], 1                                              ; +0xe, 0x1006c306e\njz      short loc_1006C3079                                            ; +0x11, 0x1006c3071\nmov     rbx, [rbx+10h]                                                 ; +0x13, 0x1006c3073\njmp     short loc_1006C307C                                            ; +0x17, 0x1006c3077\ninc     rbx                                                            ; +0x19, 0x1006c3079\nmov     rdi, rax                                                       ; +0x1c, 0x1006c307c\nmov     rsi, rbx                                                       ; +0x1f, 0x1006c307f\ncall    cocos2d__CCSpriteFrameCache__spriteFrameByName                 ; +0x22, 0x1006c3082\nmov     rdi, rax                                                       ; +0x27, 0x1006c3087\nadd     rsp, 8                                                         ; +0x2a, 0x1006c308a\npop     rbx                                                            ; +0x2e, 0x1006c308e\npop     rbp                                                            ; +0x2f, 0x1006c308f\njmp     CCSpriteWithHue__createWithSpriteFrame                         ; +0x30, 0x1006c3090", "xrefs": ["RewardUnlockLayer::init @ 0x1001ffa82", "GJShopLayer::init @ 0x10030eb9e", "GJShopLayer::init @ 0x10030ee48", "SecretLayer5::init @ 0x10046f10e"], "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"}