{"type": "func", "start": 5018064, "end": 5018316, "name": "DemonInfoPopup::createFromString", "pseudocode": "// \n// DemonInfoPopup::createFromString from 0x4c91d0 to 0x4c92cc (252 bytes)\n// \n// 1 xrefs:\n// > ProfilePage::onStatInfo @ 0x4c93a8\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\nDemonInfoPopup *__fastcall DemonInfoPopup::createFromString(_DWORD *a1, int a2, int a3)\n{\n  const char **v3; // r4\n  int v4; // r9\n  int v5; // r7\n  int v6; // r6\n  int v7; // r11\n  int v8; // r10\n  int v9; // r0\n  DemonInfoPopup *v10; // r0\n  DemonInfoPopup *v11; // r4\n  int v13; // [sp+20h] [bp-2Ch]\n  int v14; // [sp+24h] [bp-28h]\n  int v15; // [sp+28h] [bp-24h]\n  int v16; // [sp+2Ch] [bp-20h]\n  int v17; // [sp+30h] [bp-1Ch]\n  int v18; // [sp+34h] [bp-18h]\n  const char **v19; // [sp+38h] [bp-14h] BYREF\n  int v20; // [sp+3Ch] [bp-10h]\n  int v21; // [sp+40h] [bp-Ch]\n\n  v19 = nullptr;\n  v20 = 0;\n  v21 = 0;\n  sub_4C8F88(a1, (int)&v19, a3);\n  v3 = v19;\n  if ( (unsigned int)(v20 - (_DWORD)v19) <= 0x2F )\n  {\n    v10 = DemonInfoPopup::create(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);\n  }\n  else\n  {\n    v4 = atoi(*v19);\n    v5 = atoi(*(const char **)&byte_4[(_DWORD)v3]);\n    v6 = atoi(*(const char **)&byte_8[(_DWORD)v3]);\n    v18 = atoi(*(const char **)&byte_9[(_DWORD)v3 + 3]);\n    v17 = atoi(*(const char **)((char *)&word_10 + (_DWORD)v3));\n    v16 = atoi(*(const char **)((char *)&dword_14 + (_DWORD)v3));\n    v13 = atoi(*(const char **)((char *)&dword_18 + (_DWORD)v3));\n    v7 = atoi(*(const char **)((char *)&dword_1C + (_DWORD)v3));\n    v8 = atoi(*(const char **)((char *)&dword_20 + (_DWORD)v3));\n    v14 = atoi(*(const char **)((char *)&dword_24 + (_DWORD)v3));\n    v15 = atoi(*(const char **)((char *)&word_28 + (_DWORD)v3));\n    v9 = atoi(*(const char **)((char *)&word_2C + (_DWORD)v3));\n    v10 = DemonInfoPopup::create(v4, v5, v6, v18, v17, v16, v13, v7, v8, v14, v15, v9);\n  }\n  v11 = v10;\n  std::vector<std::string>::~vector((void **)&v19);\n  return v11;\n}", "assembly": "; \n; DemonInfoPopup::createFromString from 0x4c91d0 to 0x4c92cc (252 bytes)\n; \n; 1 xrefs:\n; > ProfilePage::onStatInfo @ 0x4c93a8\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.W          {R4-R11,LR}                                            ; +0x0, 0x4c91d0\nSUB             SP, SP, #0x4C                                          ; +0x4, 0x4c91d4\nLDR.W           LR, =(__stack_chk_guard_ptr - 0x4C91E0)                ; +0x6, 0x4c91d6\nADD             R5, SP, #0x4C+var_14                                   ; +0xa, 0x4c91da\nADD             LR, PC; __stack_chk_guard_ptr                          ; +0xc, 0x4c91dc\nLDR.W           LR, [LR]; __stack_chk_guard                            ; +0xe, 0x4c91de\nMOV             R1, R5                                                 ; +0x12, 0x4c91e2\nLDR.W           R3, [LR]                                               ; +0x14, 0x4c91e4\nMOV             R8, LR                                                 ; +0x18, 0x4c91e8\nSTR             R3, [SP,#0x4C+var_8]                                   ; +0x1a, 0x4c91ea\nMOVS            R3, #0                                                 ; +0x1c, 0x4c91ec\nSTR             R3, [SP,#0x4C+var_14]                                  ; +0x1e, 0x4c91ee\nSTR             R3, [SP,#0x4C+var_10]                                  ; +0x20, 0x4c91f0\nSTR             R3, [SP,#0x4C+var_C]                                   ; +0x22, 0x4c91f2\nBL              sub_4C8F88                                             ; +0x24, 0x4c91f4\nLDR             R4, [SP,#0x4C+var_14]                                  ; +0x28, 0x4c91f8\nLDR             R3, [SP,#0x4C+var_10]                                  ; +0x2a, 0x4c91fa\nSUBS            R3, R3, R4                                             ; +0x2c, 0x4c91fc\nCMP             R3, #0x2F ; '/'                                        ; +0x2e, 0x4c91fe\nBLS             loc_4C9288                                             ; +0x30, 0x4c9200\nLDR             R0, [R4]; char *                                       ; +0x32, 0x4c9202\nBLX             atoi                                                   ; +0x34, 0x4c9204\nMOV             R9, R0                                                 ; +0x38, 0x4c9208\nLDR             R0, [R4,#byte_4]; char *                               ; +0x3a, 0x4c920a\nBLX             atoi                                                   ; +0x3c, 0x4c920c\nMOV             R7, R0                                                 ; +0x40, 0x4c9210\nLDR             R0, [R4,#byte_8]; char *                               ; +0x42, 0x4c9212\nBLX             atoi                                                   ; +0x44, 0x4c9214\nMOV             R6, R0                                                 ; +0x48, 0x4c9218\nLDR             R0, [R4,#(byte_9+3)]; char *                           ; +0x4a, 0x4c921a\nBLX             atoi                                                   ; +0x4c, 0x4c921c\nSTR             R0, [SP,#0x4C+var_18]                                  ; +0x50, 0x4c9220\nLDR             R0, [R4,#word_10]; char *                              ; +0x52, 0x4c9222\nBLX             atoi                                                   ; +0x54, 0x4c9224\nSTR             R0, [SP,#0x4C+var_1C]                                  ; +0x58, 0x4c9228\nLDR             R0, [R4,#dword_14]; char *                             ; +0x5a, 0x4c922a\nBLX             atoi                                                   ; +0x5c, 0x4c922c\nSTR             R0, [SP,#0x4C+var_20]                                  ; +0x60, 0x4c9230\nLDR             R0, [R4,#dword_18]; char *                             ; +0x62, 0x4c9232\nBLX             atoi                                                   ; +0x64, 0x4c9234\nSTR             R0, [SP,#0x4C+var_2C]                                  ; +0x68, 0x4c9238\nLDR             R0, [R4,#dword_1C]; char *                             ; +0x6a, 0x4c923a\nBLX             atoi                                                   ; +0x6c, 0x4c923c\nMOV             R11, R0                                                ; +0x70, 0x4c9240\nLDR             R0, [R4,#dword_20]; char *                             ; +0x72, 0x4c9242\nBLX             atoi                                                   ; +0x74, 0x4c9244\nMOV             R10, R0                                                ; +0x78, 0x4c9248\nLDR             R0, [R4,#dword_24]; char *                             ; +0x7a, 0x4c924a\nBLX             atoi                                                   ; +0x7c, 0x4c924c\nSTR             R0, [SP,#0x4C+var_28]                                  ; +0x80, 0x4c9250\nLDR             R0, [R4,#word_28]; char *                              ; +0x82, 0x4c9252\nBLX             atoi                                                   ; +0x84, 0x4c9254\nSTR             R0, [SP,#0x4C+var_24]                                  ; +0x88, 0x4c9258\nLDR             R0, [R4,#word_2C]; char *                              ; +0x8a, 0x4c925a\nBLX             atoi                                                   ; +0x8c, 0x4c925c\nLDR             R3, [SP,#0x4C+var_2C]                                  ; +0x90, 0x4c9260\nLDR             R1, [SP,#0x4C+var_1C]                                  ; +0x92, 0x4c9262\nLDR             R2, [SP,#0x4C+var_20]                                  ; +0x94, 0x4c9264\nSTR             R3, [SP,#0x4C+var_44]                                  ; +0x96, 0x4c9266\nLDR             R3, [SP,#0x4C+var_28]                                  ; +0x98, 0x4c9268\nSTR             R1, [SP,#0x4C+var_4C]                                  ; +0x9a, 0x4c926a\nMOV             R1, R7                                                 ; +0x9c, 0x4c926c\nSTR             R2, [SP,#0x4C+var_48]                                  ; +0x9e, 0x4c926e\nMOV             R2, R6                                                 ; +0xa0, 0x4c9270\nSTR.W           R11, [SP,#0x4C+var_40]                                 ; +0xa2, 0x4c9272\nSTR.W           R10, [SP,#0x4C+var_3C]                                 ; +0xa6, 0x4c9276\nSTR             R3, [SP,#0x4C+var_38]                                  ; +0xaa, 0x4c927a\nLDR             R3, [SP,#0x4C+var_24]                                  ; +0xac, 0x4c927c\nSTR             R3, [SP,#0x4C+var_34]                                  ; +0xae, 0x4c927e\nLDR             R3, [SP,#0x4C+var_18]                                  ; +0xb0, 0x4c9280\nSTR             R0, [SP,#0x4C+var_30]                                  ; +0xb2, 0x4c9282\nMOV             R0, R9                                                 ; +0xb4, 0x4c9284\nB               loc_4C92A0                                             ; +0xb6, 0x4c9286\nMOVS            R0, #0; this                                           ; +0xb8, 0x4c9288\nSTR             R0, [SP,#0x4C+var_4C]; int                             ; +0xba, 0x4c928a\nMOV             R1, R0; int                                            ; +0xbc, 0x4c928c\nMOV             R2, R0; int                                            ; +0xbe, 0x4c928e\nMOV             R3, R0; int                                            ; +0xc0, 0x4c9290\nSTR             R0, [SP,#0x4C+var_48]; int                             ; +0xc2, 0x4c9292\nSTR             R0, [SP,#0x4C+var_44]; int                             ; +0xc4, 0x4c9294\nSTR             R0, [SP,#0x4C+var_40]; int                             ; +0xc6, 0x4c9296\nSTR             R0, [SP,#0x4C+var_3C]; int                             ; +0xc8, 0x4c9298\nSTR             R0, [SP,#0x4C+var_38]; int                             ; +0xca, 0x4c929a\nSTR             R0, [SP,#0x4C+var_34]; int                             ; +0xcc, 0x4c929c\nSTR             R0, [SP,#0x4C+var_30]; int                             ; +0xce, 0x4c929e\nBL              _ZN14DemonInfoPopup6createEiiiiiiiiiiii; DemonInfoPopup::create(int,int,int,int,int,int,int,int,int,int,int,int) ; +0xd0, 0x4c92a0\nMOV             R4, R0                                                 ; +0xd4, 0x4c92a4\nMOV             R0, R5                                                 ; +0xd6, 0x4c92a6\nBL              _ZNSt6vectorISsSaISsEED2Ev; std::vector<std::string>::~vector() ; +0xd8, 0x4c92a8\nLDR             R2, [SP,#0x4C+var_8]                                   ; +0xdc, 0x4c92ac\nLDR.W           R3, [R8]                                               ; +0xde, 0x4c92ae\nMOV             R0, R4                                                 ; +0xe2, 0x4c92b2\nCMP             R2, R3                                                 ; +0xe4, 0x4c92b4\nBEQ             loc_4C92C6                                             ; +0xe6, 0x4c92b6\nBLX             __stack_chk_fail                                       ; +0xe8, 0x4c92b8\nMOV             R0, R5                                                 ; +0xec, 0x4c92bc\nBL              _ZNSt6vectorISsSaISsEED2Ev; std::vector<std::string>::~vector() ; +0xee, 0x4c92be\nBL              __cxa_end_cleanup                                      ; +0xf2, 0x4c92c2\nADD             SP, SP, #0x4C ; 'L'                                    ; +0xf6, 0x4c92c6\nPOP.W           {R4-R11,PC}                                            ; +0xf8, 0x4c92c8", "xrefs": ["ProfilePage::onStatInfo @ 0x4c93a8"], "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"}