{"type": "func", "start": 5370268560, "end": 5370268678, "name": "EditLevelLayer::setIDPopupClosed", "pseudocode": "// \n// EditLevelLayer::setIDPopupClosed from 0x14017cb90 to 0x14017cc06 (118 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140748228\n// > <???> @ 0x1409187d0\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:27:35 +0000\n// \n\nvoid __fastcall EditLevelLayer::setIDPopupClosed(__int64 a1, __int64 a2, int a3)\n{\n  int v3; // edx\n  cocos2d::CCString *v5; // rax\n  const char *CString; // rax\n\n  v3 = 0;\n  if ( a3 >= 0 )\n    v3 = a3;\n  if ( v3 > 999 )\n    v3 = 999;\n  *(_DWORD *)(*(_QWORD *)(a1 + 32) + 988LL) = v3;\n  v5 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8);\n  CString = cocos2d::CCString::getCString(v5);\n  (**(void (__fastcall ***)(__int64, const char *))(*(_QWORD *)(a1 + 48) + 360LL))(\n    *(_QWORD *)(a1 + 48) + 360LL,\n    CString);\n  cocos2d::CCLabelBMFont::limitLabelWidth(*(cocos2d::CCLabelBMFont **)(a1 + 48), 24.0, 0.55000001, 0.0);\n}", "assembly": "; \n; EditLevelLayer::setIDPopupClosed from 0x14017cb90 to 0x14017cc06 (118 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140748228\n; > <???> @ 0x1409187d0\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:27:35 +0000\n; \npush    rbx                                                            ; +0x0, 0x14017cb90\nsub     rsp, 20h                                                       ; +0x2, 0x14017cb92\nxor     edx, edx                                                       ; +0x6, 0x14017cb96\nmov     eax, 3E7h                                                      ; +0x8, 0x14017cb98\ntest    r8d, r8d                                                       ; +0xd, 0x14017cb9d\nmov     rbx, rcx                                                       ; +0x10, 0x14017cba0\ncmovns  edx, r8d                                                       ; +0x13, 0x14017cba3\ncmp     edx, eax                                                       ; +0x17, 0x14017cba7\ncmovg   edx, eax                                                       ; +0x19, 0x14017cba9\nmov     rax, [rcx+20h]                                                 ; +0x1c, 0x14017cbac\nlea     rcx, word_1406ED6F8                                            ; +0x20, 0x14017cbb0\nmov     [rax+3DCh], edx                                                ; +0x27, 0x14017cbb7\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x2d, 0x14017cbbd\nmov     rcx, rax                                                       ; +0x33, 0x14017cbc3\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x36, 0x14017cbc6\nmov     rcx, [rbx+30h]                                                 ; +0x3c, 0x14017cbcc\nadd     rcx, 168h                                                      ; +0x40, 0x14017cbd0\nmov     rdx, [rcx]                                                     ; +0x47, 0x14017cbd7\nmov     r8, [rdx]                                                      ; +0x4a, 0x14017cbda\nmov     rdx, rax                                                       ; +0x4d, 0x14017cbdd\ncall    r8                                                             ; +0x50, 0x14017cbe0\nmovss   xmm2, cs:dword_140834F40                                       ; +0x53, 0x14017cbe3\nxorps   xmm3, xmm3                                                     ; +0x5b, 0x14017cbeb\nmovss   xmm1, cs:dword_1408355E4                                       ; +0x5e, 0x14017cbee\nmov     rcx, [rbx+30h]                                                 ; +0x66, 0x14017cbf6\nadd     rsp, 20h                                                       ; +0x6a, 0x14017cbfa\npop     rbx                                                            ; +0x6e, 0x14017cbfe\njmp     cs:?limitLabelWidth@CCLabelBMFont@cocos2d@@QEAAXMMM@Z; cocos2d::CCLabelBMFont::limitLabelWidth(float,float,float) ; +0x6f, 0x14017cbff", "xrefs": ["<???> @ 0x140748228", "<???> @ 0x1409187d0"], "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"}