{"type": "func", "start": 4138952, "end": 4138982, "name": "CCSpriteWithHue::createWithSpriteFrameName", "pseudocode": "// \n// CCSpriteWithHue::createWithSpriteFrameName from 0x3f27c8 to 0x3f27e6 (30 bytes)\n// \n// 4 xrefs:\n// > GJShopLayer::init @ 0x612c5e\n// > GJShopLayer::init @ 0x612e2c\n// > RewardUnlockLayer::init @ 0x6199d4\n// > SecretLayer5::init @ 0x6e5f9c\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:47:14 +0000\n// \n\nCCSpriteWithHue *__fastcall CCSpriteWithHue::createWithSpriteFrameName(char *a1)\n{\n  cocos2d::CCSpriteFrameCache *v2; // r0\n  const char *v3; // r1\n  CCSpriteWithHue *v4; // r0\n  cocos2d::CCSpriteFrame *v5; // r1\n\n  v2 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache((cocos2d::CCSpriteFrameCache *)a1);\n  if ( (*a1 & 1) != 0 )\n    v3 = *((const char **)a1 + 2);\n  else\n    v3 = a1 + 1;\n  v4 = (CCSpriteWithHue *)cocos2d::CCSpriteFrameCache::spriteFrameByName(v2, v3);\n  return CCSpriteWithHue::createWithSpriteFrame(v4, v5);\n}", "assembly": "; \n; CCSpriteWithHue::createWithSpriteFrameName from 0x3f27c8 to 0x3f27e6 (30 bytes)\n; \n; 4 xrefs:\n; > GJShopLayer::init @ 0x612c5e\n; > GJShopLayer::init @ 0x612e2c\n; > RewardUnlockLayer::init @ 0x6199d4\n; > SecretLayer5::init @ 0x6e5f9c\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:47:14 +0000\n; \nPUSH            {R4,LR}                                                ; +0x0, 0x3f27c8\nMOV             R4, R0                                                 ; +0x2, 0x3f27ca\nBL              _ZN7cocos2d18CCSpriteFrameCache22sharedSpriteFrameCacheEv; cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(void) ; +0x4, 0x3f27cc\nLDRB            R3, [R4]                                               ; +0x8, 0x3f27d0\nLSLS            R3, R3, #0x1F                                          ; +0xa, 0x3f27d2\nITE PL                                                                 ; +0xc, 0x3f27d4\nADDPL           R1, R4, #1                                             ; +0xe, 0x3f27d6\nLDRMI           R1, [R4,#8]; char *                                    ; +0x10, 0x3f27d8\nBL              _ZN7cocos2d18CCSpriteFrameCache17spriteFrameByNameEPKc; cocos2d::CCSpriteFrameCache::spriteFrameByName(char const*) ; +0x12, 0x3f27da\nPOP.W           {R4,LR}                                                ; +0x16, 0x3f27de\nB.W             _ZN15CCSpriteWithHue21createWithSpriteFrameEPN7cocos2d13CCSpriteFrameE; CCSpriteWithHue::createWithSpriteFrame(cocos2d::CCSpriteFrame *) ; +0x1a, 0x3f27e2", "xrefs": ["GJShopLayer::init @ 0x612c5e", "GJShopLayer::init @ 0x612e2c", "RewardUnlockLayer::init @ 0x6199d4", "SecretLayer5::init @ 0x6e5f9c"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}