{"type": "func", "start": 4302252784, "end": 4302252923, "name": "EditorUI::createExtras", "pseudocode": "// \n// EditorUI::createExtras from 0x1006f2af0 to 0x1006f2b7b (139 bytes)\n// \n// 1 xrefs:\n// > EditorUI::createSmartObjectsFromType @ 0x1000151fb\n// \n// This function is hookable on this platform (idp: pc, 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 12:35:52 +0000\n// \n\n__int64 __fastcall EditorUI::createExtras(__int64 a1, __int64 a2)\n{\n  __int64 v3; // r15\n  unsigned int v4; // r12d\n  __int64 v5; // rax\n  __int64 v6; // rsi\n\n  if ( !a2 || !(unsigned int)sub_1007FEF90(a2) )\n    return 0;\n  sub_1007FE900(a2);\n  v3 = sub_1007FE900(a2);\n  if ( (unsigned int)sub_1007FEF90(a2) )\n  {\n    v4 = 0;\n    do\n    {\n      v5 = sub_1007FEFE0(a2, v4);\n      v6 = *(unsigned int *)(v5 + 1028);\n      if ( (unsigned int)(v6 - 2808) <= 0x1D )\n        EditorUI::createExtrasForObject(a1, v6, v5, v3);\n      ++v4;\n    }\n    while ( v4 < (unsigned int)sub_1007FEF90(a2) );\n  }\n  return v3;\n}", "assembly": "; \n; EditorUI::createExtras from 0x1006f2af0 to 0x1006f2b7b (139 bytes)\n; \n; 1 xrefs:\n; > EditorUI::createSmartObjectsFromType @ 0x1000151fb\n; \n; This function is hookable on this platform (idp: pc, 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 12:35:52 +0000\n; \npush    rbp                                                            ; +0x0, 0x1006f2af0\nmov     rbp, rsp                                                       ; +0x1, 0x1006f2af1\npush    r15                                                            ; +0x4, 0x1006f2af4\npush    r14                                                            ; +0x6, 0x1006f2af6\npush    r12                                                            ; +0x8, 0x1006f2af8\npush    rbx                                                            ; +0xa, 0x1006f2afa\ntest    rsi, rsi                                                       ; +0xb, 0x1006f2afb\njz      short loc_1006F2B6C                                            ; +0xe, 0x1006f2afe\nmov     rbx, rsi                                                       ; +0x10, 0x1006f2b00\nmov     r14, rdi                                                       ; +0x13, 0x1006f2b03\nmov     rdi, rsi                                                       ; +0x16, 0x1006f2b06\ncall    sub_1007FEF90                                                  ; +0x19, 0x1006f2b09\ntest    eax, eax                                                       ; +0x1e, 0x1006f2b0e\njz      short loc_1006F2B6C                                            ; +0x20, 0x1006f2b10\ncall    sub_1007FE900                                                  ; +0x22, 0x1006f2b12\ncall    sub_1007FE900                                                  ; +0x27, 0x1006f2b17\nmov     r15, rax                                                       ; +0x2c, 0x1006f2b1c\nmov     rdi, rbx                                                       ; +0x2f, 0x1006f2b1f\ncall    sub_1007FEF90                                                  ; +0x32, 0x1006f2b22\ntest    eax, eax                                                       ; +0x37, 0x1006f2b27\njz      short loc_1006F2B6F                                            ; +0x39, 0x1006f2b29\nxor     r12d, r12d                                                     ; +0x3b, 0x1006f2b2b\njmp     short loc_1006F2B40                                            ; +0x3e, 0x1006f2b2e\ninc     r12d                                                           ; +0x40, 0x1006f2b30\nmov     rdi, rbx                                                       ; +0x43, 0x1006f2b33\ncall    sub_1007FEF90                                                  ; +0x46, 0x1006f2b36\ncmp     r12d, eax                                                      ; +0x4b, 0x1006f2b3b\njnb     short loc_1006F2B6F                                            ; +0x4e, 0x1006f2b3e\nmov     rdi, rbx                                                       ; +0x50, 0x1006f2b40\nmov     esi, r12d                                                      ; +0x53, 0x1006f2b43\ncall    sub_1007FEFE0                                                  ; +0x56, 0x1006f2b46\nmov     esi, [rax+404h]                                                ; +0x5b, 0x1006f2b4b\nlea     ecx, [rsi-0AF8h]                                               ; +0x61, 0x1006f2b51\ncmp     ecx, 1Dh                                                       ; +0x67, 0x1006f2b57\nja      short loc_1006F2B30                                            ; +0x6a, 0x1006f2b5a\nmov     rdi, r14                                                       ; +0x6c, 0x1006f2b5c\nmov     rdx, rax                                                       ; +0x6f, 0x1006f2b5f\nmov     rcx, r15                                                       ; +0x72, 0x1006f2b62\ncall    EditorUI__createExtrasForObject                                ; +0x75, 0x1006f2b65\njmp     short loc_1006F2B30                                            ; +0x7a, 0x1006f2b6a\nxor     r15d, r15d                                                     ; +0x7c, 0x1006f2b6c\nmov     rax, r15                                                       ; +0x7f, 0x1006f2b6f\npop     rbx                                                            ; +0x82, 0x1006f2b72\npop     r12                                                            ; +0x83, 0x1006f2b73\npop     r14                                                            ; +0x85, 0x1006f2b75\npop     r15                                                            ; +0x87, 0x1006f2b77\npop     rbp                                                            ; +0x89, 0x1006f2b79\nretn                                                                   ; +0x8a, 0x1006f2b7a", "xrefs": ["EditorUI::createSmartObjectsFromType @ 0x1000151fb"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}