{"type": "func", "start": 4297294944, "end": 4297294996, "name": "CCSpriteWithHue::createWithSpriteFrameName", "pseudocode": "// \n// CCSpriteWithHue::createWithSpriteFrameName from 0x100238460 to 0x100238494 (52 bytes)\n// \n// 4 xrefs:\n// > SecretLayer5::init @ 0x10007ccfc\n// > GJShopLayer::init @ 0x1001c92f0\n// > GJShopLayer::init @ 0x1001c953c\n// > RewardUnlockLayer::init @ 0x10025aecc\n// \n// This function is hookable on this platform (idp: arm, 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:01:20 +0000\n// \n\n__int64 (__fastcall ***__fastcall CCSpriteWithHue::createWithSpriteFrameName(__int64 *a1))()\n{\n  __int64 v2; // x0\n  __int64 *v3; // x1\n  __int64 v4; // x0\n\n  v2 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(a1);\n  if ( *((char *)a1 + 23) >= 0 )\n    v3 = a1;\n  else\n    v3 = (__int64 *)*a1;\n  v4 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v2, v3);\n  return CCSpriteWithHue::createWithSpriteFrame(v4);\n}", "assembly": "; \n; CCSpriteWithHue::createWithSpriteFrameName from 0x100238460 to 0x100238494 (52 bytes)\n; \n; 4 xrefs:\n; > SecretLayer5::init @ 0x10007ccfc\n; > GJShopLayer::init @ 0x1001c92f0\n; > GJShopLayer::init @ 0x1001c953c\n; > RewardUnlockLayer::init @ 0x10025aecc\n; \n; This function is hookable on this platform (idp: arm, 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:01:20 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100238460\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100238464\nADD             X29, SP, #0x10                                         ; +0x8, 0x100238468\nMOV             X19, X0                                                ; +0xc, 0x10023846c\nBL              cocos2d__CCSpriteFrameCache__sharedSpriteFrameCache    ; +0x10, 0x100238470\nLDRSB           W8, [X19,#0x17]                                        ; +0x14, 0x100238474\nLDR             X9, [X19]                                              ; +0x18, 0x100238478\nCMP             W8, #0                                                 ; +0x1c, 0x10023847c\nCSEL            X1, X9, X19, LT                                        ; +0x20, 0x100238480\nBL              cocos2d__CCSpriteFrameCache__spriteFrameByName         ; +0x24, 0x100238484\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x28, 0x100238488\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x2c, 0x10023848c\nB               CCSpriteWithHue__createWithSpriteFrame                 ; +0x30, 0x100238490", "xrefs": ["SecretLayer5::init @ 0x10007ccfc", "GJShopLayer::init @ 0x1001c92f0", "GJShopLayer::init @ 0x1001c953c", "RewardUnlockLayer::init @ 0x10025aecc"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}