{"type": "func", "start": 10912712, "end": 10912744, "name": "CurrencySprite::rewardToSpriteType", "pseudocode": "// \n// CurrencySprite::rewardToSpriteType from 0xa683c8 to 0xa683e8 (32 bytes)\n// \n// 3 xrefs:\n// > RewardUnlockLayer::playRewardEffect @ 0xa87cb0\n// > RewardUnlockLayer::playRewardEffect @ 0xa87cbc\n// > <???> @ 0xabc58\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 13:00:18 +0000\n// \n\n__int64 __fastcall CurrencySprite::rewardToSpriteType(CurrencySprite *this)\n{\n  unsigned int v1; // w1\n  __int64 result; // x0\n\n  v1 = (_DWORD)this - 1;\n  result = 0;\n  if ( v1 <= 0xE )\n    return dword_1173D70[v1];\n  return result;\n}", "assembly": "; \n; CurrencySprite::rewardToSpriteType from 0xa683c8 to 0xa683e8 (32 bytes)\n; \n; 3 xrefs:\n; > RewardUnlockLayer::playRewardEffect @ 0xa87cb0\n; > RewardUnlockLayer::playRewardEffect @ 0xa87cbc\n; > <???> @ 0xabc58\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 13:00:18 +0000\n; \nSUB             W1, W0, #1                                             ; +0x0, 0xa683c8\nMOV             W0, #0                                                 ; +0x4, 0xa683cc\nCMP             W1, #0xE                                               ; +0x8, 0xa683d0\nB.HI            locret_A683E4                                          ; +0xc, 0xa683d4\nADRL            X0, dword_1173D70                                      ; +0x10, 0xa683d8\nLDR             W0, [X0,W1,UXTW#2]                                     ; +0x18, 0xa683e0\nRET                                                                    ; +0x1c, 0xa683e4", "xrefs": ["RewardUnlockLayer::playRewardEffect @ 0xa87cb0", "RewardUnlockLayer::playRewardEffect @ 0xa87cbc", "<???> @ 0xabc58"], "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"}