{"type": "func", "start": 4303936240, "end": 4303936267, "name": "CurrencySprite::rewardToSpriteType", "pseudocode": "// \n// CurrencySprite::rewardToSpriteType from 0x10088daf0 to 0x10088db0b (27 bytes)\n// \n// 2 xrefs:\n// > RewardUnlockLayer::playRewardEffect @ 0x100200915\n// > RewardUnlockLayer::playRewardEffect @ 0x100200923\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:37:02 +0000\n// \n\n__int64 __fastcall CurrencySprite::rewardToSpriteType(int a1)\n{\n  unsigned int v1; // edi\n  __int64 result; // rax\n\n  v1 = a1 - 1;\n  result = 0;\n  if ( v1 <= 0xE )\n    return dword_100A12E38[v1];\n  return result;\n}", "assembly": "; \n; CurrencySprite::rewardToSpriteType from 0x10088daf0 to 0x10088db0b (27 bytes)\n; \n; 2 xrefs:\n; > RewardUnlockLayer::playRewardEffect @ 0x100200915\n; > RewardUnlockLayer::playRewardEffect @ 0x100200923\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:37:02 +0000\n; \npush    rbp                                                            ; +0x0, 0x10088daf0\nmov     rbp, rsp                                                       ; +0x1, 0x10088daf1\ndec     edi                                                            ; +0x4, 0x10088daf4\nxor     eax, eax                                                       ; +0x6, 0x10088daf6\ncmp     edi, 0Eh                                                       ; +0x8, 0x10088daf8\nja      short loc_10088DB09                                            ; +0xb, 0x10088dafb\nmov     eax, edi                                                       ; +0xd, 0x10088dafd\nlea     rcx, dword_100A12E38                                           ; +0xf, 0x10088daff\nmov     eax, [rcx+rax*4]                                               ; +0x16, 0x10088db06\npop     rbp                                                            ; +0x19, 0x10088db09\nretn                                                                   ; +0x1a, 0x10088db0a", "xrefs": ["RewardUnlockLayer::playRewardEffect @ 0x100200915", "RewardUnlockLayer::playRewardEffect @ 0x100200923"], "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"}