{"type": "func", "start": 4298649392, "end": 4298649622, "name": "GameManager::logLoadedIconInfo", "pseudocode": "// \n// GameManager::logLoadedIconInfo from 0x100382f30 to 0x100383016 (230 bytes)\n// \n// 0 xrefs:\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\nvoid __fastcall GameManager::logLoadedIconInfo(GameManager *a1)\n{\n  int i; // r12d\n  std::__tree_end_node<std::__tree_node_base<void *> *>::pointer left; // rax\n  std::__compressed_pair<std::__tree_end_node<std::__tree_node_base<void *> *>> *p_pair1; // r15\n  std::__compressed_pair<std::__tree_end_node<std::__tree_node_base<void *> *>> *v4; // r13\n  int v5; // eax\n  _DWORD *v6; // rax\n  std::__tree_end_node<std::__tree_node_base<void *> *> *v7; // rcx\n  int v8; // [rsp+0h] [rbp-2Ch]\n\n  v8 = a1->m_keyStartForIcon.__begin_[8] + 7;\n  if ( v8 > 0 )\n  {\n    for ( i = 0; i != v8; ++i )\n    {\n      left = a1->m_iconLoadCounts.__tree_.__pair1_.__value_.__left_;\n      p_pair1 = &a1->m_iconLoadCounts.__tree_.__pair1_;\n      v4 = &a1->m_iconLoadCounts.__tree_.__pair1_;\nLABEL_7:\n      if ( left )\n      {\n        do\n        {\n          v4 = (std::__compressed_pair<std::__tree_end_node<std::__tree_node_base<void *> *>> *)left;\n          v5 = *((_DWORD *)left + 7);\n          if ( i < v5 )\n          {\n            left = v4->__value_.__left_;\n            p_pair1 = v4;\n            goto LABEL_7;\n          }\n          if ( i <= v5 )\n            goto LABEL_4;\n          left = v4[1].__value_.__left_;\n        }\n        while ( left );\n        p_pair1 = v4 + 1;\n      }\n      v6 = operator new(0x28u);\n      v6[7] = i;\n      v6[8] = 0;\n      *(_OWORD *)v6 = 0;\n      *((_QWORD *)v6 + 2) = v4;\n      p_pair1->__value_.__left_ = (std::__tree_end_node<std::__tree_node_base<void *> *>::pointer)v6;\n      v7 = (std::__tree_end_node<std::__tree_node_base<void *> *> *)a1->m_iconLoadCounts.__tree_.__begin_node_->__left_;\n      if ( v7 )\n        a1->m_iconLoadCounts.__tree_.__begin_node_ = v7;\n      sub_100054DD0((__int64 *)a1->m_iconLoadCounts.__tree_.__pair1_.__value_.__left_, (__int64 *)v6);\n      ++a1->m_iconLoadCounts.__tree_.__pair3_.__value_;\nLABEL_4:\n      ;\n    }\n  }\n}", "assembly": "; \n; GameManager::logLoadedIconInfo from 0x100382f30 to 0x100383016 (230 bytes)\n; \n; 0 xrefs:\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\npush    rbp                                                            ; +0x0, 0x100382f30\nmov     rbp, rsp                                                       ; +0x1, 0x100382f31\npush    r15                                                            ; +0x4, 0x100382f34\npush    r14                                                            ; +0x6, 0x100382f36\npush    r13                                                            ; +0x8, 0x100382f38\npush    r12                                                            ; +0xa, 0x100382f3a\npush    rbx                                                            ; +0xc, 0x100382f3c\npush    rax                                                            ; +0xd, 0x100382f3d\nmov     rax, [rdi+468h]                                                ; +0xe, 0x100382f3e\nmov     eax, [rax+20h]                                                 ; +0x15, 0x100382f45\nadd     eax, 7                                                         ; +0x18, 0x100382f48\nmov     [rbp+var_2C], eax                                              ; +0x1b, 0x100382f4b\ntest    eax, eax                                                       ; +0x1e, 0x100382f4e\njle     loc_100383007                                                  ; +0x20, 0x100382f50\nmov     rbx, rdi                                                       ; +0x26, 0x100382f56\nlea     r14, [rdi+428h]                                                ; +0x29, 0x100382f59\nxor     r12d, r12d                                                     ; +0x30, 0x100382f60\njmp     short loc_100382F8F                                            ; +0x33, 0x100382f63\nalign 10h                                                              ; +0x35, 0x100382f65\nmov     rdi, [rbx+428h]                                                ; +0x40, 0x100382f70\nmov     rsi, rax                                                       ; +0x47, 0x100382f77\ncall    sub_100054DD0                                                  ; +0x4a, 0x100382f7a\ninc     qword ptr [rbx+430h]                                           ; +0x4f, 0x100382f7f\ninc     r12d                                                           ; +0x56, 0x100382f86\ncmp     r12d, [rbp+var_2C]                                             ; +0x59, 0x100382f89\njz      short loc_100383007                                            ; +0x5d, 0x100382f8d\nmov     rax, [r14]                                                     ; +0x5f, 0x100382f8f\nmov     r15, r14                                                       ; +0x62, 0x100382f92\nmov     r13, r14                                                       ; +0x65, 0x100382f95\njmp     short loc_100382FA7                                            ; +0x68, 0x100382f98\nalign 20h                                                              ; +0x6a, 0x100382f9a\nmov     rax, [r13+0]                                                   ; +0x70, 0x100382fa0\nmov     r15, r13                                                       ; +0x74, 0x100382fa4\ntest    rax, rax                                                       ; +0x77, 0x100382fa7\njz      short loc_100382FC6                                            ; +0x7a, 0x100382faa\nmov     r13, rax                                                       ; +0x7c, 0x100382fac\nmov     eax, [rax+1Ch]                                                 ; +0x7f, 0x100382faf\ncmp     r12d, eax                                                      ; +0x82, 0x100382fb2\njl      short loc_100382FA0                                            ; +0x85, 0x100382fb5\njle     short loc_100382F86                                            ; +0x87, 0x100382fb7\nmov     rax, [r13+8]                                                   ; +0x89, 0x100382fb9\ntest    rax, rax                                                       ; +0x8d, 0x100382fbd\njnz     short loc_100382FAC                                            ; +0x90, 0x100382fc0\nlea     r15, [r13+8]                                                   ; +0x92, 0x100382fc2\nmov     edi, 28h ; '('; __sz                                           ; +0x96, 0x100382fc6\ncall    __Znwm; operator new(ulong)                                    ; +0x9b, 0x100382fcb\nmov     [rax+1Ch], r12d                                                ; +0xa0, 0x100382fd0\nmov     dword ptr [rax+20h], 0                                         ; +0xa4, 0x100382fd4\nxorps   xmm0, xmm0                                                     ; +0xab, 0x100382fdb\nmovups  xmmword ptr [rax], xmm0                                        ; +0xae, 0x100382fde\nmov     [rax+10h], r13                                                 ; +0xb1, 0x100382fe1\nmov     [r15], rax                                                     ; +0xb5, 0x100382fe5\nmov     rcx, [rbx+420h]                                                ; +0xb8, 0x100382fe8\nmov     rcx, [rcx]                                                     ; +0xbf, 0x100382fef\ntest    rcx, rcx                                                       ; +0xc2, 0x100382ff2\njz      loc_100382F70                                                  ; +0xc5, 0x100382ff5\nmov     [rbx+420h], rcx                                                ; +0xcb, 0x100382ffb\njmp     loc_100382F70                                                  ; +0xd2, 0x100383002\nadd     rsp, 8                                                         ; +0xd7, 0x100383007\npop     rbx                                                            ; +0xdb, 0x10038300b\npop     r12                                                            ; +0xdc, 0x10038300c\npop     r13                                                            ; +0xde, 0x10038300e\npop     r14                                                            ; +0xe0, 0x100383010\npop     r15                                                            ; +0xe2, 0x100383012\npop     rbp                                                            ; +0xe4, 0x100383014\nretn                                                                   ; +0xe5, 0x100383015", "xrefs": [], "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"}