{"type": "func", "start": 4298324072, "end": 4298324120, "name": "GJRewardItem::rewardItemToStat", "pseudocode": "// \n// GJRewardItem::rewardItemToStat from 0x100333868 to 0x100333898 (48 bytes)\n// \n// 4 xrefs:\n// > GameStatsManager::preProcessReward @ 0x100333718\n// > GameStatsManager::preProcessReward @ 0x100333744\n// > GameStatsManager::completedDailyLevel @ 0x1003345f0\n// > GJRewardItem::getRandomNonMaxShardType @ 0x1003347f0\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 GJRewardItem::rewardItemToStat@<X0>(int a1@<W0>, _QWORD *a2@<X8>)\n{\n  char *v2; // x1\n\n  if ( (unsigned int)(a1 - 1) > 0xE )\n    v2 = \"\";\n  else\n    v2 = off_1007F0A50[a1 - 1];\n  return sub_100009900(a2, v2);\n}", "assembly": "; \n; GJRewardItem::rewardItemToStat from 0x100333868 to 0x100333898 (48 bytes)\n; \n; 4 xrefs:\n; > GameStatsManager::preProcessReward @ 0x100333718\n; > GameStatsManager::preProcessReward @ 0x100333744\n; > GameStatsManager::completedDailyLevel @ 0x1003345f0\n; > GJRewardItem::getRandomNonMaxShardType @ 0x1003347f0\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, 0x100333868\nMOV             X0, X8; int                                            ; +0x4, 0x10033386c\nSUB             W8, W9, #1                                             ; +0x8, 0x100333870\nCMP             W8, #0xE                                               ; +0xc, 0x100333874\nB.HI            loc_10033388C                                          ; +0x10, 0x100333878\nADRL            X9, off_1007F0A50; \"18\"                                ; +0x14, 0x10033387c\nLDR             X1, [X9,W8,UXTW#3]; __s                                ; +0x1c, 0x100333884\nB               sub_100009900                                          ; +0x20, 0x100333888\nADRL            X1, asc_100746688; \"\"                                  ; +0x24, 0x10033388c\nB               sub_100009900                                          ; +0x2c, 0x100333894", "xrefs": ["GameStatsManager::preProcessReward @ 0x100333718", "GameStatsManager::preProcessReward @ 0x100333744", "GameStatsManager::completedDailyLevel @ 0x1003345f0", "GJRewardItem::getRandomNonMaxShardType @ 0x1003347f0"], "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"}