{"type": "func", "start": 6305956, "end": 6305974, "name": "CurrencySprite::rewardToSpriteType", "pseudocode": "// \n// CurrencySprite::rewardToSpriteType from 0x6038a4 to 0x6038b6 (18 bytes)\n// \n// 2 xrefs:\n// > RewardUnlockLayer::playRewardEffect @ 0x618ab4\n// > RewardUnlockLayer::playRewardEffect @ 0x618abc\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:54:42 +0000\n// \n\nint __fastcall CurrencySprite::rewardToSpriteType(CurrencySprite *this, int a2)\n{\n  unsigned int v2; // r0\n\n  v2 = (unsigned int)this - 1;\n  if ( v2 > 0xE )\n    return 0;\n  else\n    return byte_BEE75C[v2];\n}", "assembly": "; \n; CurrencySprite::rewardToSpriteType from 0x6038a4 to 0x6038b6 (18 bytes)\n; \n; 2 xrefs:\n; > RewardUnlockLayer::playRewardEffect @ 0x618ab4\n; > RewardUnlockLayer::playRewardEffect @ 0x618abc\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:54:42 +0000\n; \nSUBS            R0, #1                                                 ; +0x0, 0x6038a4\nCMP             R0, #0xE                                               ; +0x2, 0x6038a6\nBHI             loc_6038B2                                             ; +0x4, 0x6038a8\nLDR             R3, =(byte_BEE75C - 0x6038B0)                          ; +0x6, 0x6038aa\nADD             R3, PC; byte_BEE75C                                    ; +0x8, 0x6038ac\nLDRB            R0, [R3,R0]                                            ; +0xa, 0x6038ae\nBX              LR                                                     ; +0xc, 0x6038b0\nMOVS            R0, #0                                                 ; +0xe, 0x6038b2\nBX              LR                                                     ; +0x10, 0x6038b4", "xrefs": ["RewardUnlockLayer::playRewardEffect @ 0x618ab4", "RewardUnlockLayer::playRewardEffect @ 0x618abc"], "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"}