{"type": "func", "start": 4301349008, "end": 4301349147, "name": "EditorUI::createExtras", "pseudocode": "// \n// EditorUI::createExtras from 0x100616090 to 0x10061611b (139 bytes)\n// \n// 1 xrefs:\n// > EditorUI::createSmartObjectsFromType @ 0x100044155\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\ncocos2d::CCArray *__fastcall EditorUI::createExtras(EditorUI *a1, cocos2d::CCArray *a2)\n{\n  cocos2d::CCArray *v3; // r15\n  unsigned int v4; // r12d\n  GameObject *v5; // rax\n  int m_objectID; // esi\n\n  if ( !a2 || !(unsigned int)sub_100720070(a2) )\n    return nullptr;\n  sub_10071F9E0(a2, a2);\n  v3 = (cocos2d::CCArray *)sub_10071F9E0(a2, a2);\n  if ( (unsigned int)sub_100720070(a2) )\n  {\n    v4 = 0;\n    do\n    {\n      v5 = (GameObject *)sub_1007200C0(a2, v4);\n      m_objectID = v5->m_objectID;\n      if ( (unsigned int)(m_objectID - 2808) <= 0x1D )\n        EditorUI::createExtrasForObject(a1, m_objectID, v5, v3);\n      ++v4;\n    }\n    while ( v4 < (unsigned int)sub_100720070(a2) );\n  }\n  return v3;\n}", "assembly": "; \n; EditorUI::createExtras from 0x100616090 to 0x10061611b (139 bytes)\n; \n; 1 xrefs:\n; > EditorUI::createSmartObjectsFromType @ 0x100044155\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, 0x100616090\nmov     rbp, rsp                                                       ; +0x1, 0x100616091\npush    r15                                                            ; +0x4, 0x100616094\npush    r14                                                            ; +0x6, 0x100616096\npush    r12                                                            ; +0x8, 0x100616098\npush    rbx                                                            ; +0xa, 0x10061609a\ntest    rsi, rsi                                                       ; +0xb, 0x10061609b\njz      short loc_10061610C                                            ; +0xe, 0x10061609e\nmov     rbx, rsi                                                       ; +0x10, 0x1006160a0\nmov     r14, rdi                                                       ; +0x13, 0x1006160a3\nmov     rdi, rsi                                                       ; +0x16, 0x1006160a6\ncall    sub_100720070                                                  ; +0x19, 0x1006160a9\ntest    eax, eax                                                       ; +0x1e, 0x1006160ae\njz      short loc_10061610C                                            ; +0x20, 0x1006160b0\ncall    sub_10071F9E0                                                  ; +0x22, 0x1006160b2\ncall    sub_10071F9E0                                                  ; +0x27, 0x1006160b7\nmov     r15, rax                                                       ; +0x2c, 0x1006160bc\nmov     rdi, rbx                                                       ; +0x2f, 0x1006160bf\ncall    sub_100720070                                                  ; +0x32, 0x1006160c2\ntest    eax, eax                                                       ; +0x37, 0x1006160c7\njz      short loc_10061610F                                            ; +0x39, 0x1006160c9\nxor     r12d, r12d                                                     ; +0x3b, 0x1006160cb\njmp     short loc_1006160E0                                            ; +0x3e, 0x1006160ce\ninc     r12d                                                           ; +0x40, 0x1006160d0\nmov     rdi, rbx                                                       ; +0x43, 0x1006160d3\ncall    sub_100720070                                                  ; +0x46, 0x1006160d6\ncmp     r12d, eax                                                      ; +0x4b, 0x1006160db\njnb     short loc_10061610F                                            ; +0x4e, 0x1006160de\nmov     rdi, rbx                                                       ; +0x50, 0x1006160e0\nmov     esi, r12d                                                      ; +0x53, 0x1006160e3\ncall    sub_1007200C0                                                  ; +0x56, 0x1006160e6\nmov     esi, [rax+404h]                                                ; +0x5b, 0x1006160eb\nlea     ecx, [rsi-0AF8h]                                               ; +0x61, 0x1006160f1\ncmp     ecx, 1Dh                                                       ; +0x67, 0x1006160f7\nja      short loc_1006160D0                                            ; +0x6a, 0x1006160fa\nmov     rdi, r14                                                       ; +0x6c, 0x1006160fc\nmov     rdx, rax                                                       ; +0x6f, 0x1006160ff\nmov     rcx, r15                                                       ; +0x72, 0x100616102\ncall    EditorUI__createExtrasForObject                                ; +0x75, 0x100616105\njmp     short loc_1006160D0                                            ; +0x7a, 0x10061610a\nxor     r15d, r15d                                                     ; +0x7c, 0x10061610c\nmov     rax, r15                                                       ; +0x7f, 0x10061610f\npop     rbx                                                            ; +0x82, 0x100616112\npop     r12                                                            ; +0x83, 0x100616113\npop     r14                                                            ; +0x85, 0x100616115\npop     r15                                                            ; +0x87, 0x100616117\npop     rbp                                                            ; +0x89, 0x100616119\nretn                                                                   ; +0x8a, 0x10061611a", "xrefs": ["EditorUI::createSmartObjectsFromType @ 0x100044155"], "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"}