{"type": "func", "start": 4303098512, "end": 4303098892, "name": "DemonInfoPopup::create", "pseudocode": "// \n// DemonInfoPopup::create from 0x1007c1290 to 0x1007c140c (380 bytes)\n// \n// 1 xrefs:\n// > DemonInfoPopup::createFromString @ 0x1007bf194\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::create(\n        int a1,\n        int a2,\n        int a3,\n        int a4,\n        int a5,\n        int a6,\n        int a7,\n        int a8,\n        int a9,\n        int a10,\n        int a11,\n        int a12)\n{\n  char *v14; // rbx\n\n  v14 = (char *)operator new(0x278u);\n  cocos2d::CCLayerColor::CCLayerColor((__int64)v14);\n  *((_QWORD *)v14 + 72) = 0;\n  *((_DWORD *)v14 + 146) = 0;\n  v14[588] = 0;\n  *((_OWORD *)v14 + 34) = 0;\n  *(_OWORD *)(v14 + 553) = 0;\n  *((_OWORD *)v14 + 37) = 0;\n  *((_QWORD *)v14 + 76) = 0;\n  *((_DWORD *)v14 + 154) = -1;\n  *((_WORD *)v14 + 310) = 0;\n  *((_DWORD *)v14 + 156) = -1;\n  v14[628] = 0;\n  *(_QWORD *)v14 = off_100994658;\n  *((_QWORD *)v14 + 40) = off_100994B78;\n  *((_QWORD *)v14 + 41) = &off_100994BE8;\n  *((_QWORD *)v14 + 42) = off_100994C00;\n  *((_QWORD *)v14 + 43) = off_100994C20;\n  *((_QWORD *)v14 + 44) = off_100994C40;\n  *((_QWORD *)v14 + 51) = off_100994C68;\n  *((_QWORD *)v14 + 54) = off_100994CE8;\n  if ( DemonInfoPopup::init((DemonInfoPopup *)v14, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v14);\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *))(*(_QWORD *)v14 + 16LL))(v14);\n    return nullptr;\n  }\n  return (DemonInfoPopup *)v14;\n}", "assembly": "; \n; DemonInfoPopup::create from 0x1007c1290 to 0x1007c140c (380 bytes)\n; \n; 1 xrefs:\n; > DemonInfoPopup::createFromString @ 0x1007bf194\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, 0x1007c1290\nmov     rbp, rsp                                                       ; +0x1, 0x1007c1291\npush    r15                                                            ; +0x4, 0x1007c1294\npush    r14                                                            ; +0x6, 0x1007c1296\npush    r13                                                            ; +0x8, 0x1007c1298\npush    r12                                                            ; +0xa, 0x1007c129a\npush    rbx                                                            ; +0xc, 0x1007c129c\nsub     rsp, 48h                                                       ; +0xd, 0x1007c129d\nmov     r13d, r9d                                                      ; +0x11, 0x1007c12a1\nmov     [rbp+var_30], r8d                                              ; +0x14, 0x1007c12a4\nmov     [rbp+var_2C], ecx                                              ; +0x18, 0x1007c12a8\nmov     r12d, edx                                                      ; +0x1b, 0x1007c12ab\nmov     r14d, esi                                                      ; +0x1e, 0x1007c12ae\nmov     r15d, edi                                                      ; +0x21, 0x1007c12b1\nmov     edi, 278h; __sz                                                ; +0x24, 0x1007c12b4\ncall    __Znwm; operator new(ulong)                                    ; +0x29, 0x1007c12b9\nmov     rbx, rax                                                       ; +0x2e, 0x1007c12be\nmov     rdi, rax                                                       ; +0x31, 0x1007c12c1\ncall    cocos2d__CCLayerColor__CCLayerColor                            ; +0x34, 0x1007c12c4\nmov     r8d, [rbp+arg_28]                                              ; +0x39, 0x1007c12c9\nmov     edi, [rbp+arg_20]                                              ; +0x3d, 0x1007c12cd\nmov     esi, [rbp+arg_18]                                              ; +0x40, 0x1007c12d0\nmov     edx, [rbp+arg_10]                                              ; +0x43, 0x1007c12d3\nmov     ecx, [rbp+arg_8]                                               ; +0x46, 0x1007c12d6\nmov     eax, [rbp+arg_0]                                               ; +0x49, 0x1007c12d9\nmov     qword ptr [rbx+240h], 0                                        ; +0x4c, 0x1007c12dc\nmov     dword ptr [rbx+248h], 0                                        ; +0x57, 0x1007c12e7\nmov     byte ptr [rbx+24Ch], 0                                         ; +0x61, 0x1007c12f1\nxorps   xmm0, xmm0                                                     ; +0x68, 0x1007c12f8\nmovups  xmmword ptr [rbx+220h], xmm0                                   ; +0x6b, 0x1007c12fb\nmovups  xmmword ptr [rbx+229h], xmm0                                   ; +0x72, 0x1007c1302\nmovups  xmmword ptr [rbx+250h], xmm0                                   ; +0x79, 0x1007c1309\nmov     qword ptr [rbx+260h], 0                                        ; +0x80, 0x1007c1310\nmov     dword ptr [rbx+268h], 0FFFFFFFFh                               ; +0x8b, 0x1007c131b\nmov     word ptr [rbx+26Ch], 0                                         ; +0x95, 0x1007c1325\nmov     dword ptr [rbx+270h], 0FFFFFFFFh                               ; +0x9e, 0x1007c132e\nmov     byte ptr [rbx+274h], 0                                         ; +0xa8, 0x1007c1338\nlea     r9, off_100994658                                              ; +0xaf, 0x1007c133f\nmov     [rbx], r9                                                      ; +0xb6, 0x1007c1346\nlea     r9, off_100994B78                                              ; +0xb9, 0x1007c1349\nmov     [rbx+140h], r9                                                 ; +0xc0, 0x1007c1350\nlea     r9, off_100994BE8                                              ; +0xc7, 0x1007c1357\nmov     [rbx+148h], r9                                                 ; +0xce, 0x1007c135e\nlea     r9, off_100994C00                                              ; +0xd5, 0x1007c1365\nmov     [rbx+150h], r9                                                 ; +0xdc, 0x1007c136c\nlea     r9, off_100994C20                                              ; +0xe3, 0x1007c1373\nmov     [rbx+158h], r9                                                 ; +0xea, 0x1007c137a\nlea     r9, off_100994C40                                              ; +0xf1, 0x1007c1381\nmov     [rbx+160h], r9                                                 ; +0xf8, 0x1007c1388\nlea     r9, off_100994C68                                              ; +0xff, 0x1007c138f\nmov     [rbx+198h], r9                                                 ; +0x106, 0x1007c1396\nlea     r9, off_100994CE8                                              ; +0x10d, 0x1007c139d\nmov     [rbx+1B0h], r9                                                 ; +0x114, 0x1007c13a4\nmov     [rsp+70h+var_40], r8d                                          ; +0x11b, 0x1007c13ab\nmov     [rsp+70h+var_48], edi                                          ; +0x120, 0x1007c13b0\nmov     [rsp+70h+var_50], esi                                          ; +0x124, 0x1007c13b4\nmov     [rsp+70h+var_58], edx                                          ; +0x128, 0x1007c13b8\nmov     [rsp+70h+var_60], ecx                                          ; +0x12c, 0x1007c13bc\nmov     [rsp+70h+var_68], eax                                          ; +0x130, 0x1007c13c0\nmov     [rsp+70h+var_70], r13d                                         ; +0x134, 0x1007c13c4\nmov     rdi, rbx                                                       ; +0x138, 0x1007c13c8\nmov     esi, r15d                                                      ; +0x13b, 0x1007c13cb\nmov     edx, r14d                                                      ; +0x13e, 0x1007c13ce\nmov     ecx, r12d                                                      ; +0x141, 0x1007c13d1\nmov     r8d, [rbp+var_2C]                                              ; +0x144, 0x1007c13d4\nmov     r9d, [rbp+var_30]                                              ; +0x148, 0x1007c13d8\ncall    DemonInfoPopup__init                                           ; +0x14c, 0x1007c13dc\ntest    al, al                                                         ; +0x151, 0x1007c13e1\njz      short loc_1007C13EF                                            ; +0x153, 0x1007c13e3\nmov     rdi, rbx                                                       ; +0x155, 0x1007c13e5\ncall    cocos2d__CCObject__autorelease                                 ; +0x158, 0x1007c13e8\njmp     short loc_1007C13FA                                            ; +0x15d, 0x1007c13ed\nmov     rax, [rbx]                                                     ; +0x15f, 0x1007c13ef\nmov     rdi, rbx                                                       ; +0x162, 0x1007c13f2\ncall    qword ptr [rax+10h]                                            ; +0x165, 0x1007c13f5\nxor     ebx, ebx                                                       ; +0x168, 0x1007c13f8\nmov     rax, rbx                                                       ; +0x16a, 0x1007c13fa\nadd     rsp, 48h                                                       ; +0x16d, 0x1007c13fd\npop     rbx                                                            ; +0x171, 0x1007c1401\npop     r12                                                            ; +0x172, 0x1007c1402\npop     r13                                                            ; +0x174, 0x1007c1404\npop     r14                                                            ; +0x176, 0x1007c1406\npop     r15                                                            ; +0x178, 0x1007c1408\npop     rbp                                                            ; +0x17a, 0x1007c140a\nretn                                                                   ; +0x17b, 0x1007c140b", "xrefs": ["DemonInfoPopup::createFromString @ 0x1007bf194"], "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"}