{"type": "func", "start": 4295465940, "end": 4295466100, "name": "EditorUI::createExtras", "pseudocode": "// \n// EditorUI::createExtras from 0x100079bd4 to 0x100079c74 (160 bytes)\n// \n// 1 xrefs:\n// > EditorUI::createSmartObjectsFromType @ 0x1003f285c\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  __int64 v4; // x0\n  __int64 v5; // x0\n  cocos2d::CCArray *v6; // x21\n  __int64 v7; // x22\n  GameObject *v8; // x0\n  int m_objectID; // w1\n\n  if ( !a2 )\n    return nullptr;\n  v4 = sub_10024A36C(a2);\n  if ( !(_DWORD)v4 )\n    return nullptr;\n  v5 = sub_10024A15C(v4);\n  v6 = (cocos2d::CCArray *)sub_10024A15C(v5);\n  if ( (unsigned int)sub_10024A36C(a2) )\n  {\n    v7 = 0;\n    do\n    {\n      v8 = (GameObject *)sub_10024A388(a2, v7);\n      m_objectID = v8->m_objectID;\n      if ( (unsigned int)(m_objectID - 2808) <= 0x1D )\n        EditorUI::createExtrasForObject(a1, m_objectID, v8, v6);\n      v7 = (unsigned int)(v7 + 1);\n    }\n    while ( (unsigned int)v7 < (unsigned int)sub_10024A36C(a2) );\n  }\n  return v6;\n}", "assembly": "; \n; EditorUI::createExtras from 0x100079bd4 to 0x100079c74 (160 bytes)\n; \n; 1 xrefs:\n; > EditorUI::createSmartObjectsFromType @ 0x1003f285c\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\nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x100079bd4\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x100079bd8\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x100079bdc\nADD             X29, SP, #0x20                                         ; +0xc, 0x100079be0\nCBZ             X1, loc_100079C5C                                      ; +0x10, 0x100079be4\nMOV             X19, X1                                                ; +0x14, 0x100079be8\nMOV             X20, X0                                                ; +0x18, 0x100079bec\nMOV             X0, X1                                                 ; +0x1c, 0x100079bf0\nBL              sub_10024A36C                                          ; +0x20, 0x100079bf4\nCBZ             W0, loc_100079C5C                                      ; +0x24, 0x100079bf8\nBL              sub_10024A15C                                          ; +0x28, 0x100079bfc\nBL              sub_10024A15C                                          ; +0x2c, 0x100079c00\nMOV             X21, X0                                                ; +0x30, 0x100079c04\nMOV             X0, X19                                                ; +0x34, 0x100079c08\nBL              sub_10024A36C                                          ; +0x38, 0x100079c0c\nCBZ             W0, loc_100079C60                                      ; +0x3c, 0x100079c10\nMOV             W22, #0                                                ; +0x40, 0x100079c14\nMOV             X0, X19                                                ; +0x44, 0x100079c18\nMOV             X1, X22                                                ; +0x48, 0x100079c1c\nBL              sub_10024A388                                          ; +0x4c, 0x100079c20\nLDR             W1, [X0,#0x404]                                        ; +0x50, 0x100079c24\nSUB             W8, W1, #0xAF8                                         ; +0x54, 0x100079c28\nCMP             W8, #0x1D                                              ; +0x58, 0x100079c2c\nB.HI            loc_100079C44                                          ; +0x5c, 0x100079c30\nMOV             X2, X0                                                 ; +0x60, 0x100079c34\nMOV             X0, X20                                                ; +0x64, 0x100079c38\nMOV             X3, X21                                                ; +0x68, 0x100079c3c\nBL              EditorUI__createExtrasForObject                        ; +0x6c, 0x100079c40\nADD             W22, W22, #1                                           ; +0x70, 0x100079c44\nMOV             X0, X19                                                ; +0x74, 0x100079c48\nBL              sub_10024A36C                                          ; +0x78, 0x100079c4c\nCMP             W22, W0                                                ; +0x7c, 0x100079c50\nB.CC            loc_100079C18                                          ; +0x80, 0x100079c54\nB               loc_100079C60                                          ; +0x84, 0x100079c58\nMOV             X21, #0                                                ; +0x88, 0x100079c5c\nMOV             X0, X21                                                ; +0x8c, 0x100079c60\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x90, 0x100079c64\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x94, 0x100079c68\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x98, 0x100079c6c\nRET                                                                    ; +0x9c, 0x100079c70", "xrefs": ["EditorUI::createSmartObjectsFromType @ 0x1003f285c"], "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"}