{"type": "func", "start": 4298244916, "end": 4298244964, "name": "CurrencySprite::spriteTypeToStat", "pseudocode": "// \n// CurrencySprite::spriteTypeToStat from 0x100320334 to 0x100320364 (48 bytes)\n// \n// 2 xrefs:\n// > CurrencyRewardLayer::init @ 0x10031e9dc\n// > CurrencyRewardLayer::init @ 0x10031ea30\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\n_QWORD *__usercall CurrencySprite::spriteTypeToStat@<X0>(int a1@<W0>, _QWORD *a2@<X8>)\n{\n  char *v2; // x1\n\n  if ( (unsigned int)(a1 - 4) > 0xC )\n    v2 = \"\";\n  else\n    v2 = off_1007EFBC0[a1 - 4];\n  return sub_100009900(a2, v2);\n}", "assembly": "; \n; CurrencySprite::spriteTypeToStat from 0x100320334 to 0x100320364 (48 bytes)\n; \n; 2 xrefs:\n; > CurrencyRewardLayer::init @ 0x10031e9dc\n; > CurrencyRewardLayer::init @ 0x10031ea30\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\nMOV             X9, X0                                                 ; +0x0, 0x100320334\nMOV             X0, X8; int                                            ; +0x4, 0x100320338\nSUB             W8, W9, #4                                             ; +0x8, 0x10032033c\nCMP             W8, #0xC                                               ; +0xc, 0x100320340\nB.HI            loc_100320358                                          ; +0x10, 0x100320344\nADRL            X9, off_1007EFBC0; \"18\"                                ; +0x14, 0x100320348\nLDR             X1, [X9,W8,UXTW#3]; __s                                ; +0x1c, 0x100320350\nB               sub_100009900                                          ; +0x20, 0x100320354\nADRL            X1, asc_100746688; \"\"                                  ; +0x24, 0x100320358\nB               sub_100009900                                          ; +0x2c, 0x100320360", "xrefs": ["CurrencyRewardLayer::init @ 0x10031e9dc", "CurrencyRewardLayer::init @ 0x10031ea30"], "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"}