{"type": "func", "start": 4296937728, "end": 4296937851, "name": "EditLevelLayer::setIDPopupClosed", "pseudocode": "// \n// EditLevelLayer::setIDPopupClosed from 0x1001e1100 to 0x1001e117b (123 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100ade970\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 12:26:28 +0000\n// \n\n__int64 __fastcall EditLevelLayer::setIDPopupClosed(__int64 a1, __int64 a2, int a3)\n{\n  int v3; // esi\n  __int64 v4; // r14\n  __int64 v5; // rax\n  __int64 CString; // rax\n  char v8; // [rsp+0h] [rbp-10h]\n\n  if ( a3 <= 0 )\n    a3 = 0;\n  v3 = 999;\n  if ( a3 < 999 )\n    v3 = a3;\n  *(_DWORD *)(*(_QWORD *)(a1 + 472) + 916LL) = v3;\n  v4 = *(_QWORD *)(a1 + 488);\n  v5 = sub_10088E820(\"%i\", v8);\n  CString = cocos2d::CCString::getCString(v5);\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 928LL))(v4, CString);\n  return cocos2d::CCLabelBMFont::limitLabelWidth(*(_QWORD *)(a1 + 488), 24.0, 0.55000001, 0.0);\n}", "assembly": "; \n; EditLevelLayer::setIDPopupClosed from 0x1001e1100 to 0x1001e117b (123 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100ade970\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 12:26:28 +0000\n; \npush    rbp                                                            ; +0x0, 0x1001e1100\nmov     rbp, rsp                                                       ; +0x1, 0x1001e1101\npush    r14                                                            ; +0x4, 0x1001e1104\npush    rbx; char                                                      ; +0x6, 0x1001e1106\nxor     eax, eax                                                       ; +0x7, 0x1001e1107\ntest    edx, edx                                                       ; +0x9, 0x1001e1109\ncmovle  edx, eax                                                       ; +0xb, 0x1001e110b\ncmp     edx, 3E7h                                                      ; +0xe, 0x1001e110e\nmov     esi, 3E7h                                                      ; +0x14, 0x1001e1114\ncmovl   esi, edx                                                       ; +0x19, 0x1001e1119\nmov     rbx, rdi                                                       ; +0x1c, 0x1001e111c\nmov     rax, [rdi+1D8h]                                                ; +0x1f, 0x1001e111f\nmov     [rax+394h], esi                                                ; +0x26, 0x1001e1126\nmov     r14, [rdi+1E8h]                                                ; +0x2c, 0x1001e112c\nlea     rdi, aI_14; \"%i\"                                               ; +0x33, 0x1001e1133\nxor     eax, eax                                                       ; +0x3a, 0x1001e113a\ncall    sub_10088E820                                                  ; +0x3c, 0x1001e113c\nmov     rdi, rax                                                       ; +0x41, 0x1001e1141\ncall    cocos2d__CCString__getCString                                  ; +0x44, 0x1001e1144\nmov     rcx, [r14]                                                     ; +0x49, 0x1001e1149\nmov     rdi, r14                                                       ; +0x4c, 0x1001e114c\nmov     rsi, rax                                                       ; +0x4f, 0x1001e114f\ncall    qword ptr [rcx+3A0h]                                           ; +0x52, 0x1001e1152\nmov     rdi, [rbx+1E8h]                                                ; +0x58, 0x1001e1158\nmovss   xmm0, cs:dword_100A04CAC                                       ; +0x5f, 0x1001e115f\nmovss   xmm1, cs:dword_100A0416C                                       ; +0x67, 0x1001e1167\nxorps   xmm2, xmm2                                                     ; +0x6f, 0x1001e116f\npop     rbx                                                            ; +0x72, 0x1001e1172\npop     r14                                                            ; +0x73, 0x1001e1173\npop     rbp                                                            ; +0x75, 0x1001e1175\njmp     cocos2d__CCLabelBMFont__limitLabelWidth                        ; +0x76, 0x1001e1176", "xrefs": ["<???> @ 0x100ade970"], "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"}