{"type": "func", "start": 4846392, "end": 4846468, "name": "EditLevelLayer::setIDPopupClosed", "pseudocode": "// \n// EditLevelLayer::setIDPopupClosed from 0x49f338 to 0x49f384 (76 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'EditLevelLayer::setIDPopupClosed @ 0x49f394\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:49:48 +0000\n// \n\nint __fastcall EditLevelLayer::setIDPopupClosed(EditLevelLayer *this, SetIDPopup *a2, const char *a3)\n{\n  const char *v3; // r1\n  int v5; // r5\n  void (__fastcall *v6)(int, int); // r6\n  cocos2d::CCString *v7; // r0\n  int CString; // r0\n\n  v3 = a3;\n  if ( (int)a3 < 0 )\n  {\n    v3 = nullptr;\n  }\n  else if ( (int)a3 >= 999 )\n  {\n    v3 = (_BYTE *)(&stru_3DC + 11);\n  }\n  *(_DWORD *)(*((_DWORD *)this + 87) + 740) = v3;\n  v5 = *((_DWORD *)this + 89);\n  v6 = *(void (__fastcall **)(int, int))(*(_DWORD *)v5 + 464);\n  v7 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)\"%i\", v3);\n  CString = cocos2d::CCString::getCString(v7);\n  v6(v5, CString);\n  return cocos2d::CCLabelBMFont::limitLabelWidth(*((cocos2d::CCLabelBMFont **)this + 89), 24.0, 0.55, 0.0);\n}", "assembly": "; \n; EditLevelLayer::setIDPopupClosed from 0x49f338 to 0x49f384 (76 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'EditLevelLayer::setIDPopupClosed @ 0x49f394\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:49:48 +0000\n; \nSUBS            R1, R2, #0                                             ; +0x0, 0x49f338\nPUSH            {R4-R6,LR}                                             ; +0x2, 0x49f33a\nMOV             R4, R0                                                 ; +0x4, 0x49f33c\nBLT             loc_49F34C                                             ; +0x6, 0x49f33e\nMOVW            R3, #0x3E7                                             ; +0x8, 0x49f340\nCMP             R1, R3                                                 ; +0xc, 0x49f344\nIT GE                                                                  ; +0xe, 0x49f346\nMOVGE           R1, R3                                                 ; +0x10, 0x49f348\nB               loc_49F34E                                             ; +0x12, 0x49f34a\nMOVS            R1, #0; char *                                         ; +0x14, 0x49f34c\nLDR.W           R3, [R4,#0x15C]                                        ; +0x16, 0x49f34e\nLDR             R0, =(aI - 0x49F35C); \"%i\"                             ; +0x1a, 0x49f352\nSTR.W           R1, [R3,#0x2E4]                                        ; +0x1c, 0x49f354\nADD             R0, PC; \"%i\"                                           ; +0x20, 0x49f358\nLDR.W           R5, [R4,#0x164]                                        ; +0x22, 0x49f35a\nLDR             R3, [R5]                                               ; +0x26, 0x49f35e\nLDR.W           R6, [R3,#0x1D0]                                        ; +0x28, 0x49f360\nBL              _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x2c, 0x49f364\nBL              _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x30, 0x49f368\nMOV             R1, R0                                                 ; +0x34, 0x49f36c\nMOV             R0, R5                                                 ; +0x36, 0x49f36e\nBLX             R6                                                     ; +0x38, 0x49f370\nLDR.W           R0, [R4,#0x164]; this                                  ; +0x3a, 0x49f372\nLDR             R1, flt_49F384; float                                  ; +0x3e, 0x49f376\nMOVS            R3, #0; float                                          ; +0x40, 0x49f378\nLDR             R2, flt_49F388; float                                  ; +0x42, 0x49f37a\nPOP.W           {R4-R6,LR}                                             ; +0x44, 0x49f37c\nB.W             _ZN7cocos2d13CCLabelBMFont15limitLabelWidthEfff; cocos2d::CCLabelBMFont::limitLabelWidth(float,float,float) ; +0x48, 0x49f380", "xrefs": ["`non-virtual thunk to'EditLevelLayer::setIDPopupClosed @ 0x49f394"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "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"}