{"type": "func", "start": 5371829200, "end": 5371829331, "name": "LevelInfoLayer::setIDPopupClosed", "pseudocode": "// \n// LevelInfoLayer::setIDPopupClosed from 0x1402f9bd0 to 0x1402f9c53 (131 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140586d60\n// > <???> @ 0x1406d4100\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid LevelInfoLayer::setIDPopupClosed(LevelInfoLayer *a1, SetIDPopup *a2, int a3)\n{\n  int v3; // edx\n  void (__fastcall **v5)(__int64, const char *); // rbx\n  cocos2d::CCString *v6; // 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->m_uIndexInArray + 872LL) = v3;\n  v5 = *(void (__fastcall ***)(__int64, const char *))(*(_QWORD *)&a1->m_sAdditionalTransform.b + 360LL);\n  v6 = cocos2d::CCString::createWithFormat(\"%i\", v3);\n  CString = cocos2d::CCString::getCString(v6);\n  (*v5)(*(_QWORD *)&a1->m_sAdditionalTransform.b + 360LL, CString);\n  cocos2d::CCLabelBMFont::limitLabelWidth(\n    *(cocos2d::CCLabelBMFont **)&a1->m_sAdditionalTransform.b,\n    24.0,\n    0.55000001,\n    0.0);\n}", "assembly": "; \n; LevelInfoLayer::setIDPopupClosed from 0x1402f9bd0 to 0x1402f9c53 (131 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140586d60\n; > <???> @ 0x1406d4100\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1402f9bd0\npush    rdi                                                            ; +0x5, 0x1402f9bd5\nsub     rsp, 20h                                                       ; +0x6, 0x1402f9bd6\nxor     edx, edx                                                       ; +0xa, 0x1402f9bda\nmov     eax, 3E7h                                                      ; +0xc, 0x1402f9bdc\ntest    r8d, r8d                                                       ; +0x11, 0x1402f9be1\nmov     rdi, rcx                                                       ; +0x14, 0x1402f9be4\ncmovns  edx, r8d                                                       ; +0x17, 0x1402f9be7\ncmp     edx, eax                                                       ; +0x1b, 0x1402f9beb\ncmovg   edx, eax                                                       ; +0x1d, 0x1402f9bed\nmov     rax, [rcx+20h]                                                 ; +0x20, 0x1402f9bf0\nmov     [rax+368h], edx                                                ; +0x24, 0x1402f9bf4\nmov     rax, [rcx+78h]                                                 ; +0x2a, 0x1402f9bfa\nlea     rcx, aI_11; \"%i\"                                               ; +0x2e, 0x1402f9bfe\nmov     rbx, [rax+168h]                                                ; +0x35, 0x1402f9c05\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x3c, 0x1402f9c0c\nmov     rcx, rax                                                       ; +0x42, 0x1402f9c12\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x45, 0x1402f9c15\nmov     rcx, [rdi+78h]                                                 ; +0x4b, 0x1402f9c1b\nmov     rdx, rax                                                       ; +0x4f, 0x1402f9c1f\nadd     rcx, 168h                                                      ; +0x52, 0x1402f9c22\ncall    qword ptr [rbx]                                                ; +0x59, 0x1402f9c29\nmovss   xmm2, cs:dword_140622B24                                       ; +0x5b, 0x1402f9c2b\nxorps   xmm3, xmm3                                                     ; +0x63, 0x1402f9c33\nmovss   xmm1, cs:dword_140623140                                       ; +0x66, 0x1402f9c36\nmov     rcx, [rdi+78h]                                                 ; +0x6e, 0x1402f9c3e\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x72, 0x1402f9c42\nadd     rsp, 20h                                                       ; +0x77, 0x1402f9c47\npop     rdi                                                            ; +0x7b, 0x1402f9c4b\njmp     cs:?limitLabelWidth@CCLabelBMFont@cocos2d@@QEAAXMMM@Z; cocos2d::CCLabelBMFont::limitLabelWidth(float,float,float) ; +0x7c, 0x1402f9c4c", "xrefs": ["<???> @ 0x140586d60", "<???> @ 0x1406d4100"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}