{"type": "func", "start": 5373028912, "end": 5373029036, "name": "LevelInfoLayer::setIDPopupClosed", "pseudocode": "// \n// LevelInfoLayer::setIDPopupClosed from 0x14041ea30 to 0x14041eaac (124 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14078c640\n// > <???> @ 0x140926744\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:08 +0000\n// \n\nvoid __fastcall LevelInfoLayer::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 + 40) + 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 + 136) + 360LL))(\n    *(_QWORD *)(a1 + 136) + 360LL,\n    CString);\n  cocos2d::CCLabelBMFont::limitLabelWidth(*(cocos2d::CCLabelBMFont **)(a1 + 136), 24.0, 0.55000001, 0.0);\n}", "assembly": "; \n; LevelInfoLayer::setIDPopupClosed from 0x14041ea30 to 0x14041eaac (124 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14078c640\n; > <???> @ 0x140926744\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:08 +0000\n; \npush    rbx                                                            ; +0x0, 0x14041ea30\nsub     rsp, 20h                                                       ; +0x2, 0x14041ea32\nxor     edx, edx                                                       ; +0x6, 0x14041ea36\nmov     eax, 3E7h                                                      ; +0x8, 0x14041ea38\ntest    r8d, r8d                                                       ; +0xd, 0x14041ea3d\nmov     rbx, rcx                                                       ; +0x10, 0x14041ea40\ncmovns  edx, r8d                                                       ; +0x13, 0x14041ea43\ncmp     edx, eax                                                       ; +0x17, 0x14041ea47\ncmovg   edx, eax                                                       ; +0x19, 0x14041ea49\nmov     rax, [rcx+28h]                                                 ; +0x1c, 0x14041ea4c\nlea     rcx, word_1406ED6F8                                            ; +0x20, 0x14041ea50\nmov     [rax+3DCh], edx                                                ; +0x27, 0x14041ea57\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x2d, 0x14041ea5d\nmov     rcx, rax                                                       ; +0x33, 0x14041ea63\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x36, 0x14041ea66\nmov     rcx, [rbx+88h]                                                 ; +0x3c, 0x14041ea6c\nadd     rcx, 168h                                                      ; +0x43, 0x14041ea73\nmov     rdx, [rcx]                                                     ; +0x4a, 0x14041ea7a\nmov     r8, [rdx]                                                      ; +0x4d, 0x14041ea7d\nmov     rdx, rax                                                       ; +0x50, 0x14041ea80\ncall    r8                                                             ; +0x53, 0x14041ea83\nmovss   xmm2, cs:dword_140834F40                                       ; +0x56, 0x14041ea86\nxorps   xmm3, xmm3                                                     ; +0x5e, 0x14041ea8e\nmovss   xmm1, cs:dword_1408355E4                                       ; +0x61, 0x14041ea91\nmov     rcx, [rbx+88h]                                                 ; +0x69, 0x14041ea99\nadd     rsp, 20h                                                       ; +0x70, 0x14041eaa0\npop     rbx                                                            ; +0x74, 0x14041eaa4\njmp     cs:?limitLabelWidth@CCLabelBMFont@cocos2d@@QEAAXMMM@Z; cocos2d::CCLabelBMFont::limitLabelWidth(float,float,float) ; +0x75, 0x14041eaa5", "xrefs": ["<???> @ 0x14078c640", "<???> @ 0x140926744"], "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"}