{"type": "func", "start": 4295382184, "end": 4295382268, "name": "GameStatsManager::accountIDForIcon", "pseudocode": "// \n// GameStatsManager::accountIDForIcon from 0x1000654a8 to 0x1000654fc (84 bytes)\n// \n// 1 xrefs:\n// > ItemInfoPopup::init @ 0x100308eb8\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// local variable allocation has failed, the output may be wrong!\nint __fastcall GameStatsManager::accountIDForIcon(GameStatsManager *a1, int a2, UnlockType a3)\n{\n  GameStatsManager *v4; // x0\n  __int64 v6; // [xsp+8h] [xbp-18h] BYREF\n\n  v6 = (unsigned int)a2 | (*(_QWORD *)&a3 << 32);\n  v4 = (GameStatsManager *)sub_10001BD38((__int64)&a1->m_accountIDForIcon, (int *)&v6);\n  if ( &a1->m_accountIDForIcon.__tree_.__pair1_ == (std::__compressed_pair<std::__tree_end_node<std::__tree_node_base<void *> *>> *)v4 )\n    return 0;\n  else\n    return v4->m_uUnknown;\n}", "assembly": "; \n; GameStatsManager::accountIDForIcon from 0x1000654a8 to 0x1000654fc (84 bytes)\n; \n; 1 xrefs:\n; > ItemInfoPopup::init @ 0x100308eb8\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\nSUB             SP, SP, #0x30                                          ; +0x0, 0x1000654a8\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1000654ac\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1000654b0\nADD             X29, SP, #0x20                                         ; +0xc, 0x1000654b4\nMOV             X19, X0                                                ; +0x10, 0x1000654b8\nMOV             W8, W1                                                 ; +0x14, 0x1000654bc\nORR             X8, X8, X2,LSL#32                                      ; +0x18, 0x1000654c0\nSTR             X8, [SP,#0x20+var_18]                                  ; +0x1c, 0x1000654c4\nADD             X0, X0, #0x340                                         ; +0x20, 0x1000654c8\nADD             X1, SP, #0x20+var_18                                   ; +0x24, 0x1000654cc\nBL              sub_10001BD38                                          ; +0x28, 0x1000654d0\nADD             X8, X19, #0x348                                        ; +0x2c, 0x1000654d4\nCMP             X8, X0                                                 ; +0x30, 0x1000654d8\nB.EQ            loc_1000654E8                                          ; +0x34, 0x1000654dc\nLDR             W0, [X0,#0x24]                                         ; +0x38, 0x1000654e0\nB               loc_1000654EC                                          ; +0x3c, 0x1000654e4\nMOV             W0, #0                                                 ; +0x40, 0x1000654e8\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x44, 0x1000654ec\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x48, 0x1000654f0\nADD             SP, SP, #0x30 ; '0'                                    ; +0x4c, 0x1000654f4\nRET                                                                    ; +0x50, 0x1000654f8", "xrefs": ["ItemInfoPopup::init @ 0x100308eb8"], "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"}