{"type": "func", "start": 5373212224, "end": 5373212368, "name": "LevelControlConfig::seedBase", "pseudocode": "// \n// LevelControlConfig::seedBase from 0x14044b640 to 0x14044b6d0 (144 bytes)\n// \n// 4 xrefs:\n// > LevelControlConfig::createFromGlobal @ 0x14044b6f2\n// > PlatformerControlsPopup::ensureCustomDraft @ 0x140450630\n// > <???> @ 0x140927428\n// > <???> @ 0x140927434\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:32:25 +0000\n// \n\n// Hidden C++ exception states: #wind=1\n_BOOL8 __fastcall LevelControlConfig::seedBase(_DWORD *a1)\n{\n  __int64 v2; // rax\n  __int64 v3; // rcx\n  _BOOL8 result; // rax\n  int v5; // [rsp+30h] [rbp+8h] BYREF\n  int v6; // [rsp+34h] [rbp+Ch]\n  void *v7; // [rsp+38h] [rbp+10h]\n\n  a1[14] = 1;\n  v2 = cocos2d::CCDirector::sharedDirector(a1);\n  cocos2d::CCDirector::getWinSize(v2, &v5);\n  a1[15] = v5;\n  a1[16] = v6;\n  v3 = qword_14090BFD0;\n  if ( !qword_14090BFD0 )\n  {\n    v7 = operator new(0x6E8u);\n    qword_14090BFD0 = GameManager::GameManager((__int64)v7);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n    v3 = qword_14090BFD0;\n  }\n  result = GameManager::getGameVariable(v3, \"0113\");\n  a1[17] = result;\n  return result;\n}", "assembly": "; \n; LevelControlConfig::seedBase from 0x14044b640 to 0x14044b6d0 (144 bytes)\n; \n; 4 xrefs:\n; > LevelControlConfig::createFromGlobal @ 0x14044b6f2\n; > PlatformerControlsPopup::ensureCustomDraft @ 0x140450630\n; > <???> @ 0x140927428\n; > <???> @ 0x140927434\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:32:25 +0000\n; \npush    rbx                                                            ; +0x0, 0x14044b640\nsub     rsp, 20h                                                       ; +0x2, 0x14044b642\nmov     rbx, rcx                                                       ; +0x6, 0x14044b646\nmov     dword ptr [rcx+38h], 1                                         ; +0x9, 0x14044b649\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x10, 0x14044b650\nmov     rcx, rax                                                       ; +0x16, 0x14044b656\nlea     rdx, [rsp+28h+arg_0]                                           ; +0x19, 0x14044b659\ncall    cs:?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x1e, 0x14044b65e\nmovss   xmm0, [rsp+28h+arg_0]                                          ; +0x24, 0x14044b664\nmovss   dword ptr [rbx+3Ch], xmm0                                      ; +0x2a, 0x14044b66a\nmovss   xmm1, [rsp+28h+arg_4]                                          ; +0x2f, 0x14044b66f\nmovss   dword ptr [rbx+40h], xmm1                                      ; +0x35, 0x14044b675\nmov     rcx, cs:qword_14090BFD0                                        ; +0x3a, 0x14044b67a\ntest    rcx, rcx                                                       ; +0x41, 0x14044b681\njnz     short loc_14044B6B8                                            ; +0x44, 0x14044b684\nmov     ecx, 6E8h; Size                                                ; +0x46, 0x14044b686\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x4b, 0x14044b68b\nmov     [rsp+28h+arg_8], rax                                           ; +0x50, 0x14044b690\nmov     rcx, rax                                                       ; +0x55, 0x14044b695\ncall    GameManager__GameManager                                       ; +0x58, 0x14044b698\nnop                                                                    ; +0x5d, 0x14044b69d\nmov     cs:qword_14090BFD0, rax                                        ; +0x5e, 0x14044b69e\nmov     rcx, [rax]                                                     ; +0x65, 0x14044b6a5\nmov     rdx, [rcx+48h]                                                 ; +0x68, 0x14044b6a8\nmov     rcx, rax                                                       ; +0x6c, 0x14044b6ac\ncall    rdx                                                            ; +0x6f, 0x14044b6af\nmov     rcx, cs:qword_14090BFD0                                        ; +0x71, 0x14044b6b1\nlea     rdx, a0113; \"0113\"                                             ; +0x78, 0x14044b6b8\ncall    GameManager__getGameVariable                                   ; +0x7f, 0x14044b6bf\nmovzx   eax, al                                                        ; +0x84, 0x14044b6c4\nmov     [rbx+44h], eax                                                 ; +0x87, 0x14044b6c7\nadd     rsp, 20h                                                       ; +0x8a, 0x14044b6ca\npop     rbx                                                            ; +0x8e, 0x14044b6ce\nretn                                                                   ; +0x8f, 0x14044b6cf", "xrefs": ["LevelControlConfig::createFromGlobal @ 0x14044b6f2", "PlatformerControlsPopup::ensureCustomDraft @ 0x140450630", "<???> @ 0x140927428", "<???> @ 0x140927434"], "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"}