{"type": "func", "start": 4298254072, "end": 4298254108, "name": "CurrencySprite::rewardToSpriteType", "pseudocode": "// \n// CurrencySprite::rewardToSpriteType from 0x1003226f8 to 0x10032271c (36 bytes)\n// \n// 2 xrefs:\n// > RewardUnlockLayer::playRewardEffect @ 0x1001c5fcc\n// > RewardUnlockLayer::playRewardEffect @ 0x1001c5fd8\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\nCurrencySpriteType __fastcall CurrencySprite::rewardToSpriteType(int a1)\n{\n  if ( (unsigned int)(a1 - 1) > 0xE )\n    return Icon;\n  else\n    return dword_10064517C[a1 - 1];\n}", "assembly": "; \n; CurrencySprite::rewardToSpriteType from 0x1003226f8 to 0x10032271c (36 bytes)\n; \n; 2 xrefs:\n; > RewardUnlockLayer::playRewardEffect @ 0x1001c5fcc\n; > RewardUnlockLayer::playRewardEffect @ 0x1001c5fd8\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\nSUB             W8, W0, #1                                             ; +0x0, 0x1003226f8\nCMP             W8, #0xE                                               ; +0x4, 0x1003226fc\nB.HI            loc_100322714                                          ; +0x8, 0x100322700\nADRL            X9, dword_10064517C                                    ; +0xc, 0x100322704\nLDR             W0, [X9,W8,UXTW#2]                                     ; +0x14, 0x10032270c\nRET                                                                    ; +0x18, 0x100322710\nMOV             W0, #0                                                 ; +0x1c, 0x100322714\nRET                                                                    ; +0x20, 0x100322718", "xrefs": ["RewardUnlockLayer::playRewardEffect @ 0x1001c5fcc", "RewardUnlockLayer::playRewardEffect @ 0x1001c5fd8"], "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"}