{"type": "func", "start": 5371278384, "end": 5371278641, "name": "GJLevelList::updateLevelsString", "pseudocode": "// \n// GJLevelList::updateLevelsString from 0x140273430 to 0x140273531 (257 bytes)\n// \n// 4 xrefs:\n// > GJLevelList::addLevelToList @ 0x140272bda\n// > GJLevelList::reorderLevel @ 0x140272df0\n// > LevelListLayer::cellPerformedAction @ 0x14042ecfc\n// > <???> @ 0x14091cb8c\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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:28:55 +0000\n// \n\n// Hidden C++ exception states: #wind=1\n__int64 __fastcall GJLevelList::updateLevelsString(__int64 a1)\n{\n  int v2; // edi\n  unsigned int *v3; // rsi\n  unsigned int *i; // rbx\n  _BYTE *v5; // rax\n  size_t v6; // r8\n  _QWORD v8[2]; // [rsp+20h] [rbp-248h] BYREF\n  _BYTE v9[528]; // [rsp+30h] [rbp-238h] BYREF\n\n  fmt::BasicWriter<char>::BasicWriter<char>(v9);\n  v2 = 0;\n  v3 = *(unsigned int **)(a1 + 328);\n  for ( i = *(unsigned int **)(a1 + 320); i != v3; ++i )\n  {\n    if ( v2 )\n    {\n      v8[0] = byte_14070ECF8;\n      v8[1] = 0;\n      fmt::BasicWriter<char>::operator<<(v9, v8);\n    }\n    fmt::BasicWriter<char>::operator<<(v9, *i);\n    ++v2;\n  }\n  v5 = (_BYTE *)fmt::BasicWriter<char>::c_str(v9);\n  v6 = -1;\n  do\n    ++v6;\n  while ( v5[v6] );\n  sub_1400405A0((void **)(a1 + 504), v5, v6);\n  return fmt::BasicWriter<char>::~BasicWriter<char>(v9);\n}", "assembly": "; \n; GJLevelList::updateLevelsString from 0x140273430 to 0x140273531 (257 bytes)\n; \n; 4 xrefs:\n; > GJLevelList::addLevelToList @ 0x140272bda\n; > GJLevelList::reorderLevel @ 0x140272df0\n; > LevelListLayer::cellPerformedAction @ 0x14042ecfc\n; > <???> @ 0x14091cb8c\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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:28:55 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x140273430\nmov     [rsp+arg_10], rbp                                              ; +0x5, 0x140273435\nmov     [rsp+arg_18], rsi                                              ; +0xa, 0x14027343a\npush    rdi                                                            ; +0xf, 0x14027343f\npush    r14                                                            ; +0x10, 0x140273440\npush    r15                                                            ; +0x12, 0x140273442\nsub     rsp, 250h                                                      ; +0x14, 0x140273444\nmov     rax, cs:__security_cookie                                      ; +0x1b, 0x14027344b\nxor     rax, rsp                                                       ; +0x22, 0x140273452\nmov     [rsp+268h+var_28], rax                                         ; +0x25, 0x140273455\nmov     rbp, rcx                                                       ; +0x2d, 0x14027345d\nlea     rcx, [rsp+268h+var_238]                                        ; +0x30, 0x140273460\ncall    cs:??0?$BasicWriter@D@fmt@@QEAA@XZ; fmt::BasicWriter<char>::BasicWriter<char>(void) ; +0x35, 0x140273465\nnop                                                                    ; +0x3b, 0x14027346b\nxor     r14d, r14d                                                     ; +0x3c, 0x14027346c\nmov     edi, r14d                                                      ; +0x3f, 0x14027346f\nmov     rsi, [rbp+148h]                                                ; +0x42, 0x140273472\nmov     rbx, [rbp+140h]                                                ; +0x49, 0x140273479\ncmp     rbx, rsi                                                       ; +0x50, 0x140273480\njz      short loc_1402734C6                                            ; +0x53, 0x140273483\nlea     r15, byte_14070ECF8                                            ; +0x55, 0x140273485\nnop     dword ptr [rax+00h]                                            ; +0x5c, 0x14027348c\ntest    edi, edi                                                       ; +0x60, 0x140273490\njz      short loc_1402734AE                                            ; +0x62, 0x140273492\nmov     [rsp+268h+var_248], r15                                        ; +0x64, 0x140273494\nmov     [rsp+268h+var_240], r14                                        ; +0x69, 0x140273499\nlea     rdx, [rsp+268h+var_248]                                        ; +0x6e, 0x14027349e\nlea     rcx, [rsp+268h+var_238]                                        ; +0x73, 0x1402734a3\ncall    cs:??6?$BasicWriter@D@fmt@@QEAAAEAV01@V?$BasicStringRef@D@1@@Z; fmt::BasicWriter<char>::operator<<(fmt::BasicStringRef<char>) ; +0x78, 0x1402734a8\nmov     edx, [rbx]                                                     ; +0x7e, 0x1402734ae\nlea     rcx, [rsp+268h+var_238]                                        ; +0x80, 0x1402734b0\ncall    cs:??6?$BasicWriter@D@fmt@@QEAAAEAV01@H@Z; fmt::BasicWriter<char>::operator<<(int) ; +0x85, 0x1402734b5\ninc     edi                                                            ; +0x8b, 0x1402734bb\nadd     rbx, 4                                                         ; +0x8d, 0x1402734bd\ncmp     rbx, rsi                                                       ; +0x91, 0x1402734c1\njnz     short loc_140273490                                            ; +0x94, 0x1402734c4\nlea     rcx, [rsp+268h+var_238]                                        ; +0x96, 0x1402734c6\ncall    cs:?c_str@?$BasicWriter@D@fmt@@QEBAPEBDXZ; fmt::BasicWriter<char>::c_str(void) ; +0x9b, 0x1402734cb\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0xa1, 0x1402734d1\nnop     dword ptr [rax+rax+00000000h]                                  ; +0xa8, 0x1402734d8\ninc     r8; Size                                                       ; +0xb0, 0x1402734e0\ncmp     [rax+r8], r14b                                                 ; +0xb3, 0x1402734e3\njnz     short loc_1402734E0                                            ; +0xb7, 0x1402734e7\nlea     rcx, [rbp+1F8h]; void *                                        ; +0xb9, 0x1402734e9\nmov     rdx, rax; Src                                                  ; +0xc0, 0x1402734f0\ncall    sub_1400405A0                                                  ; +0xc3, 0x1402734f3\nnop                                                                    ; +0xc8, 0x1402734f8\nlea     rcx, [rsp+268h+var_238]                                        ; +0xc9, 0x1402734f9\ncall    cs:__imp_??1?$BasicWriter@D@fmt@@QEAA@XZ; fmt::BasicWriter<char>::~BasicWriter<char>(void) ; +0xce, 0x1402734fe\nmov     rcx, [rsp+268h+var_28]                                         ; +0xd4, 0x140273504\nxor     rcx, rsp; StackCookie                                          ; +0xdc, 0x14027350c\ncall    __security_check_cookie                                        ; +0xdf, 0x14027350f\nlea     r11, [rsp+268h+var_18]                                         ; +0xe4, 0x140273514\nmov     rbx, [r11+28h]                                                 ; +0xec, 0x14027351c\nmov     rbp, [r11+30h]                                                 ; +0xf0, 0x140273520\nmov     rsi, [r11+38h]                                                 ; +0xf4, 0x140273524\nmov     rsp, r11                                                       ; +0xf8, 0x140273528\npop     r15                                                            ; +0xfb, 0x14027352b\npop     r14                                                            ; +0xfd, 0x14027352d\npop     rdi                                                            ; +0xff, 0x14027352f\nretn                                                                   ; +0x100, 0x140273530", "xrefs": ["GJLevelList::addLevelToList @ 0x140272bda", "GJLevelList::reorderLevel @ 0x140272df0", "LevelListLayer::cellPerformedAction @ 0x14042ecfc", "<???> @ 0x14091cb8c"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}