{"type": "func", "start": 4297057536, "end": 4297057659, "name": "EditLevelLayer::setIDPopupClosed", "pseudocode": "// \n// EditLevelLayer::setIDPopupClosed from 0x1001fe500 to 0x1001fe57b (123 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008da7f0\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 __fastcall EditLevelLayer::setIDPopupClosed(EditLevelLayer *a1, SetIDPopup *a2, int a3)\n{\n  int v3; // esi\n  cocos2d::CCLabelBMFont *m_folderLabel; // r14\n  cocos2d::CCString *v5; // rax\n  const char *CString; // rax\n  char v7; // [rsp+0h] [rbp-10h]\n\n  if ( a3 <= 0 )\n    a3 = 0;\n  v3 = 999;\n  if ( a3 < 999 )\n    v3 = a3;\n  a1->m_level->m_levelFolder = v3;\n  m_folderLabel = a1->m_folderLabel;\n  v5 = (cocos2d::CCString *)sub_1007AB580(\"%i\", v7);\n  CString = cocos2d::CCString::getCString(v5);\n  ((void (__fastcall *)(cocos2d::CCLabelBMFont *, const char *))m_folderLabel->setString)(m_folderLabel, CString);\n  cocos2d::CCLabelBMFont::limitLabelWidth(a1->m_folderLabel, 24.0, 0.55000001, 0.0);\n}", "assembly": "; \n; EditLevelLayer::setIDPopupClosed from 0x1001fe500 to 0x1001fe57b (123 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008da7f0\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\npush    rbp                                                            ; +0x0, 0x1001fe500\nmov     rbp, rsp                                                       ; +0x1, 0x1001fe501\npush    r14                                                            ; +0x4, 0x1001fe504\npush    rbx; char                                                      ; +0x6, 0x1001fe506\nxor     eax, eax                                                       ; +0x7, 0x1001fe507\ntest    edx, edx                                                       ; +0x9, 0x1001fe509\ncmovle  edx, eax                                                       ; +0xb, 0x1001fe50b\ncmp     edx, 3E7h                                                      ; +0xe, 0x1001fe50e\nmov     esi, 3E7h                                                      ; +0x14, 0x1001fe514\ncmovl   esi, edx                                                       ; +0x19, 0x1001fe519\nmov     rbx, rdi                                                       ; +0x1c, 0x1001fe51c\nmov     rax, [rdi+1C8h]                                                ; +0x1f, 0x1001fe51f\nmov     [rax+320h], esi                                                ; +0x26, 0x1001fe526\nmov     r14, [rdi+1D8h]                                                ; +0x2c, 0x1001fe52c\nlea     rdi, aI; \"%i\"                                                  ; +0x33, 0x1001fe533\nxor     eax, eax                                                       ; +0x3a, 0x1001fe53a\ncall    sub_1007AB580                                                  ; +0x3c, 0x1001fe53c\nmov     rdi, rax                                                       ; +0x41, 0x1001fe541\ncall    cocos2d__CCString__getCString                                  ; +0x44, 0x1001fe544\nmov     rcx, [r14]                                                     ; +0x49, 0x1001fe549\nmov     rdi, r14                                                       ; +0x4c, 0x1001fe54c\nmov     rsi, rax                                                       ; +0x4f, 0x1001fe54f\ncall    qword ptr [rcx+390h]                                           ; +0x52, 0x1001fe552\nmov     rdi, [rbx+1D8h]                                                ; +0x58, 0x1001fe558\nmovss   xmm0, cs:dword_1008168D4                                       ; +0x5f, 0x1001fe55f\nmovss   xmm1, cs:dword_100815D54                                       ; +0x67, 0x1001fe567\nxorps   xmm2, xmm2                                                     ; +0x6f, 0x1001fe56f\npop     rbx                                                            ; +0x72, 0x1001fe572\npop     r14                                                            ; +0x73, 0x1001fe573\npop     rbp                                                            ; +0x75, 0x1001fe575\njmp     cocos2d__CCLabelBMFont__limitLabelWidth                        ; +0x76, 0x1001fe576", "xrefs": ["<???> @ 0x1008da7f0"], "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"}