{"type": "func", "start": 4295149700, "end": 4295149824, "name": "LevelInfoLayer::setIDPopupClosed", "pseudocode": "// \n// LevelInfoLayer::setIDPopupClosed from 0x10002c884 to 0x10002c900 (124 bytes)\n// \n// 2 xrefs:\n// > sub_10002C900 @ 0x10002c904\n// > <???> @ 0x1008b09b8\n// \n// This function is hookable on this platform (idp: arm, 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 10:57:29 +0000\n// \n\n__int64 __fastcall LevelInfoLayer::setIDPopupClosed(__int64 a1, __int64 a2, int a3)\n{\n  int v4; // w8\n  __int64 v5; // x20\n  __int64 v6; // x0\n  __int64 CString; // x0\n\n  v4 = a3 & ~(a3 >> 31);\n  if ( v4 >= 999 )\n    v4 = 999;\n  *(_DWORD *)(*(_QWORD *)(a1 + 504) + 916LL) = v4;\n  v5 = *(_QWORD *)(a1 + 600);\n  v6 = sub_1003065B0(\"%i\", v4);\n  CString = cocos2d::CCString::getCString(v6);\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 928LL))(v5, CString);\n  return cocos2d::CCLabelBMFont::limitLabelWidth(*(_QWORD *)(a1 + 600), 24.0, 0.55, 0.0);\n}", "assembly": "; \n; LevelInfoLayer::setIDPopupClosed from 0x10002c884 to 0x10002c900 (124 bytes)\n; \n; 2 xrefs:\n; > sub_10002C900 @ 0x10002c904\n; > <???> @ 0x1008b09b8\n; \n; This function is hookable on this platform (idp: arm, 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 10:57:29 +0000\n; \nSUB             SP, SP, #0x30                                          ; +0x0, 0x10002c884\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x10002c888\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x10002c88c\nADD             X29, SP, #0x20                                         ; +0xc, 0x10002c890\nMOV             X19, X0                                                ; +0x10, 0x10002c894\nBIC             W8, W2, W2,ASR#31                                      ; +0x14, 0x10002c898\nCMP             W8, #0x3E7                                             ; +0x18, 0x10002c89c\nMOV             W9, #0x3E7                                             ; +0x1c, 0x10002c8a0\nCSEL            W8, W8, W9, LT                                         ; +0x20, 0x10002c8a4\nLDR             X9, [X0,#0x1F8]                                        ; +0x24, 0x10002c8a8\nSTR             W8, [X9,#0x394]                                        ; +0x28, 0x10002c8ac\nLDR             X20, [X0,#0x258]                                       ; +0x2c, 0x10002c8b0\nSTR             X8, [SP,#0x20+var_20]                                  ; +0x30, 0x10002c8b4\nADRL            X0, aI; \"%i\"                                           ; +0x34, 0x10002c8b8\nBL              sub_1003065B0                                          ; +0x3c, 0x10002c8c0\nBL              cocos2d__CCString__getCString                          ; +0x40, 0x10002c8c4\nMOV             X1, X0                                                 ; +0x44, 0x10002c8c8\nLDR             X8, [X20]                                              ; +0x48, 0x10002c8cc\nLDR             X8, [X8,#0x3A0]                                        ; +0x4c, 0x10002c8d0\nMOV             X0, X20                                                ; +0x50, 0x10002c8d4\nBLR             X8                                                     ; +0x54, 0x10002c8d8\nLDR             X0, [X19,#0x258]                                       ; +0x58, 0x10002c8dc\nADRP            X8, #dword_10075C614@PAGE                              ; +0x5c, 0x10002c8e0\nLDR             S1, [X8,#dword_10075C614@PAGEOFF]                      ; +0x60, 0x10002c8e4\nFMOV            S0, #24.0                                              ; +0x64, 0x10002c8e8\nFMOV            S2, WZR                                                ; +0x68, 0x10002c8ec\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x6c, 0x10002c8f0\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x70, 0x10002c8f4\nADD             SP, SP, #0x30 ; '0'                                    ; +0x74, 0x10002c8f8\nB               cocos2d__CCLabelBMFont__limitLabelWidth                ; +0x78, 0x10002c8fc", "xrefs": ["sub_10002C900 @ 0x10002c904", "<???> @ 0x1008b09b8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}