{"type": "func", "start": 4747180, "end": 4747826, "name": "EditorUI::createPrefab", "pseudocode": "// \n// EditorUI::createPrefab from 0x486fac to 0x487232 (646 bytes)\n// \n// 2 xrefs:\n// > BrowseSmartTemplateLayer::createPrefab @ 0x673db0\n// > SetupSmartBlockLayer::onCreateAll @ 0x6740d8\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:49:26 +0000\n// \n\nunsigned int __fastcall EditorUI::createPrefab(int a1, int a2, unsigned __int8 *a3, int a4)\n{\n  cocos2d::CCDirector *v8; // r0\n  const cocos2d::CCPoint *v9; // r6\n  unsigned int v10; // r11\n  unsigned int result; // r0\n  unsigned int v12; // r2\n  std::logic_error *exception; // r4\n  unsigned __int8 *v14; // r2\n  int v15; // r9\n  int PrefabWithID; // r7\n  cocos2d::CCArray *v17; // r7\n  GameObject *v18; // [sp+Ch] [bp-40h]\n  GameObject *Object; // [sp+Ch] [bp-40h]\n  float v20[2]; // [sp+10h] [bp-3Ch] BYREF\n  float v21[2]; // [sp+18h] [bp-34h] BYREF\n  _BYTE v22[8]; // [sp+20h] [bp-2Ch] BYREF\n  float v23; // [sp+28h] [bp-24h] BYREF\n  float v24; // [sp+2Ch] [bp-20h]\n  _BYTE v25[8]; // [sp+30h] [bp-1Ch] BYREF\n  int v26[3]; // [sp+38h] [bp-14h] BYREF\n\n  v8 = (cocos2d::CCDirector *)EditorBuildStats::noteAction((EditorBuildStats *)(*(_DWORD *)(a1 + 944) + 12104));\n  cocos2d::CCDirector::sharedDirector(v8);\n  cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v20);\n  v9 = *(const cocos2d::CCPoint **)(*(_DWORD *)(a1 + 944) + 2436);\n  cocos2d::CCPoint::CCPoint(\n    (cocos2d::CCPoint *)v25,\n    v20[0] * 0.5,\n    (float)(*(float *)(a1 + 632) * 0.5) + (float)(v20[1] * 0.5));\n  cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v21, v9);\n  v10 = 0;\n  v21[0] = v21[0] + (float)((float)(4 * *(_DWORD *)(a2 + 124)) * 30.0);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v23, (const cocos2d::CCPoint *)v21);\n  EditorUI::getGridSnappedPos((int)v25, a1, &v23);\n  cocos2d::CCPoint::operator=(v21, v25);\n  ++*(_DWORD *)(a2 + 124);\n  result = cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v22, (const cocos2d::CCPoint *)&flt_D2B938);\n  do\n  {\n    v12 = *a3;\n    if ( (v12 & 1) != 0 )\n    {\n      if ( v10 >= *((_DWORD *)a3 + 1) )\n        goto LABEL_6;\n      v14 = *((unsigned __int8 **)a3 + 2);\n    }\n    else\n    {\n      if ( v10 >= v12 >> 1 )\n      {\nLABEL_6:\n        exception = (std::logic_error *)_cxa_allocate_exception(8u);\n        std::logic_error::logic_error(exception, \"basic_string\");\n        *(_DWORD *)exception = &off_D1548C;\n        _cxa_throw(\n          exception,\n          (struct type_info *)&`typeinfo for'std::out_of_range,\n          (void (*)(void *))std::length_error::~length_error);\n      }\n      v14 = a3 + 1;\n    }\n    v15 = v14[v10];\n    if ( v15 != 48 )\n    {\n      GJSmartTemplate::offsetForType(&v23, v14[v10]);\n      if ( v10 )\n      {\n        if ( v10 == 1 || v10 - 5 <= 1 )\n          v24 = v24 + 30.0;\n        if ( v10 == 2 )\n        {\nLABEL_17:\n          v24 = v24 - 30.0;\nLABEL_18:\n          if ( (v10 & 0xFFFFFFFB) == 3 || v10 == 5 )\n            v23 = v23 - 30.0;\n          if ( (v10 & 0xFFFFFFFD) == 4 || v10 == 8 )\n            v23 = v23 + 30.0;\n          v18 = (GameObject *)GJSmartTemplate::smartTypeToObjectKey(v15);\n          cocos2d::CCPoint::operator+(v25, v21, &v23);\n          Object = EditorUI::createObject(a1, v18, (const cocos2d::CCPoint *)v25);\n          result = GJSmartTemplate::applyTransformationsForType(v15, Object);\n          if ( v10 )\n          {\n            *((_BYTE *)Object + 1167) = 1;\n            result = SmartGameObject::updateSmartFrame(Object);\n          }\n          goto LABEL_26;\n        }\n      }\n      else\n      {\n        cocos2d::CCPoint::operator=(v22, &v23);\n      }\n      if ( v10 - 7 > 1 )\n        goto LABEL_18;\n      goto LABEL_17;\n    }\nLABEL_26:\n    ++v10;\n  }\n  while ( v10 != 9 );\n  if ( a4 > 0 )\n  {\n    std::string::basic_string(v26, (int)a3);\n    PrefabWithID = GJSmartTemplate::getPrefabWithID(a2, v26, a4);\n    result = std::string::~string((int)v26);\n    if ( PrefabWithID )\n    {\n      std::string::basic_string(v26, PrefabWithID + 64);\n      v17 = (cocos2d::CCArray *)EditorUI::pasteObjects(a1, (int)v26);\n      result = std::string::~string((int)v26);\n      if ( v17 )\n      {\n        cocos2d::CCPoint::operator+(v25, v21, v22);\n        EditorUI::repositionObjectsToCenter(a1, v17, v25, 0);\n        return EditorUI::deleteSmartBlocksFromObjects((GJBaseGameLayer **)a1, v17);\n      }\n    }\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::createPrefab from 0x486fac to 0x487232 (646 bytes)\n; \n; 2 xrefs:\n; > BrowseSmartTemplateLayer::createPrefab @ 0x673db0\n; > SetupSmartBlockLayer::onCreateAll @ 0x6740d8\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:49:26 +0000\n; \nPUSH.W          {R4-R11,LR}                                            ; +0x0, 0x486fac\nMOV             R4, R0                                                 ; +0x4, 0x486fb0\nVPUSH           {D8}                                                   ; +0x6, 0x486fb2\nMOV             R10, R3                                                ; +0xa, 0x486fb6\nLDR.W           R12, =(__stack_chk_guard_ptr - 0x486FC4)               ; +0xc, 0x486fb8\nMOV             R8, R1                                                 ; +0x10, 0x486fbc\nMOV             R7, R2                                                 ; +0x12, 0x486fbe\nADD             R12, PC; __stack_chk_guard_ptr                         ; +0x14, 0x486fc0\nLDR.W           R12, [R12]; __stack_chk_guard                          ; +0x16, 0x486fc2\nVMOV.F32        S16, #30.0                                             ; +0x1a, 0x486fc6\nLDR.W           R0, [R0,#0x3B0]                                        ; +0x1e, 0x486fca\nSUB             SP, SP, #0x4C                                          ; +0x22, 0x486fce\nLDR.W           R3, [R12]                                              ; +0x24, 0x486fd0\nADD             R5, SP, #0x4C+var_1C                                   ; +0x28, 0x486fd4\nADD.W           R0, R0, #0x2F40                                        ; +0x2a, 0x486fd6\nSTR.W           R12, [SP,#0x4C+var_48]                                 ; +0x2e, 0x486fda\nADDS            R0, #8; this                                           ; +0x32, 0x486fde\nADD.W           R9, SP, #0x4C+var_34                                   ; +0x34, 0x486fe0\nSTR             R3, [SP,#0x4C+var_8]                                   ; +0x38, 0x486fe4\nBL              _ZN16EditorBuildStats10noteActionEv; EditorBuildStats::noteAction(void) ; +0x3a, 0x486fe6\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x3e, 0x486fea\nMOV             R1, R0                                                 ; +0x42, 0x486fee\nADD             R0, SP, #0x4C+var_3C; this                             ; +0x44, 0x486ff0\nBL              _ZN7cocos2d10CCDirector10getWinSizeEv; cocos2d::CCDirector::getWinSize(void) ; +0x46, 0x486ff2\nVMOV.F32        S14, #0.5                                              ; +0x4a, 0x486ff6\nVLDR            S13, [SP,#0x4C+var_3C]                                 ; +0x4e, 0x486ffa\nMOV             R0, R5; this                                           ; +0x52, 0x486ffe\nLDR.W           R3, [R4,#0x3B0]                                        ; +0x54, 0x487000\nVLDR            S15, [R4,#0x278]                                       ; +0x58, 0x487004\nLDR.W           R6, [R3,#0x984]                                        ; +0x5c, 0x487008\nVMUL.F32        S13, S13, S14                                          ; +0x60, 0x48700c\nVMUL.F32        S15, S15, S14                                          ; +0x64, 0x487010\nVMOV            R1, S13; float                                         ; +0x68, 0x487014\nVLDR            S13, [SP,#0x4C+var_38]                                 ; +0x6c, 0x487018\nVMLA.F32        S15, S13, S14                                          ; +0x70, 0x48701c\nVMOV            R2, S15; float                                         ; +0x74, 0x487020\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x78, 0x487024\nMOV             R1, R6; cocos2d::CCPoint *                             ; +0x7c, 0x487028\nMOV             R2, R5                                                 ; +0x7e, 0x48702a\nMOV             R0, R9; this                                           ; +0x80, 0x48702c\nBL              _ZN7cocos2d6CCNode18convertToNodeSpaceERKNS_7CCPointE; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const&) ; +0x82, 0x48702e\nLDR.W           R6, [R8,#0x7C]                                         ; +0x86, 0x487032\nVLDR            S14, [SP,#0x4C+var_34]                                 ; +0x8a, 0x487036\nMOV             R1, R9; cocos2d::CCPoint *                             ; +0x8e, 0x48703a\nMOV.W           R11, R6,LSL#2                                          ; +0x90, 0x48703c\nADD             R6, SP, #0x4C+var_24                                   ; +0x94, 0x487040\nVMOV            S15, R11                                               ; +0x96, 0x487042\nMOV             R0, R6; this                                           ; +0x9a, 0x487046\nMOV.W           R11, #0                                                ; +0x9c, 0x487048\nVCVT.F32.S32    S15, S15                                               ; +0xa0, 0x48704c\nVMLA.F32        S14, S15, S16                                          ; +0xa4, 0x487050\nVSTR            S14, [SP,#0x4C+var_34]                                 ; +0xa8, 0x487054\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0xac, 0x487058\nMOV             R2, R6                                                 ; +0xb0, 0x48705c\nMOV             R0, R5                                                 ; +0xb2, 0x48705e\nMOV             R1, R4                                                 ; +0xb4, 0x487060\nBL              _ZN8EditorUI17getGridSnappedPosEN7cocos2d7CCPointE; EditorUI::getGridSnappedPos(cocos2d::CCPoint) ; +0xb6, 0x487062\nMOV             R1, R5                                                 ; +0xba, 0x487066\nMOV             R0, R9                                                 ; +0xbc, 0x487068\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0xbe, 0x48706a\nLDR.W           R3, [R8,#0x7C]                                         ; +0xc2, 0x48706e\nLDR             R1, =(flt_D2B938 - 0x487080)                           ; +0xc6, 0x487072\nADD             R0, SP, #0x4C+var_2C; this                             ; +0xc8, 0x487074\nADDS            R3, #1                                                 ; +0xca, 0x487076\nSTR.W           R3, [R8,#0x7C]                                         ; +0xcc, 0x487078\nADD             R1, PC; flt_D2B938 ; cocos2d::CCPoint *                ; +0xd0, 0x48707c\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0xd2, 0x48707e\nSTR.W           R9, [SP,#0x4C+var_44]                                  ; +0xd6, 0x487082\nLDRB            R2, [R7]                                               ; +0xda, 0x487086\nLSLS            R3, R2, #0x1F                                          ; +0xdc, 0x487088\nBPL             loc_487094                                             ; +0xde, 0x48708a\nLDR             R2, [R7,#4]                                            ; +0xe0, 0x48708c\nCMP             R11, R2                                                ; +0xe2, 0x48708e\nBCC             loc_4870CE                                             ; +0xe4, 0x487090\nB               loc_48709A                                             ; +0xe6, 0x487092\nCMP.W           R11, R2,LSR#1                                          ; +0xe8, 0x487094\nBCC             loc_4870D2                                             ; +0xec, 0x487098\nMOVS            R0, #8; thrown_size                                    ; +0xee, 0x48709a\nBL              __cxa_allocate_exception                               ; +0xf0, 0x48709c\nLDR             R1, =(aBasicString - 0x4870A6); \"basic_string\"         ; +0xf4, 0x4870a0\nADD             R1, PC; \"basic_string\"                                 ; +0xf6, 0x4870a2\nMOV             R4, R0                                                 ; +0xf8, 0x4870a4\nBL              _ZNSt11logic_errorC2EPKc; std::logic_error::logic_error(char const*) ; +0xfa, 0x4870a6\nLDR             R3, =(_ZTVSt12out_of_range_ptr - 0x4870B6)             ; +0xfe, 0x4870aa\nMOV             R0, R4; void *                                         ; +0x100, 0x4870ac\nLDR             R1, =(_ZTISt12out_of_range_ptr - 0x4870BC)             ; +0x102, 0x4870ae\nLDR             R2, =(_ZNSt12length_errorD1Ev_ptr_0 - 0x4870C2)        ; +0x104, 0x4870b0\nADD             R3, PC; _ZTVSt12out_of_range_ptr                       ; +0x106, 0x4870b2\nLDR             R3, [R3]; `vtable for'std::out_of_range ...            ; +0x108, 0x4870b4\nADDS            R3, #8                                                 ; +0x10a, 0x4870b6\nADD             R1, PC; _ZTISt12out_of_range_ptr                       ; +0x10c, 0x4870b8\nLDR             R1, [R1]; lptinfo                                      ; +0x10e, 0x4870ba\nSTR             R3, [R4]                                               ; +0x110, 0x4870bc\nADD             R2, PC; _ZNSt12length_errorD1Ev_ptr_0                  ; +0x112, 0x4870be\nLDR             R2, [R2]; std::length_error::~length_error() ; void (*)(void *) ; +0x114, 0x4870c0\nBL              __cxa_throw                                            ; +0x116, 0x4870c2\nMOV             R0, R4; void *                                         ; +0x11a, 0x4870c6\nBL              __cxa_free_exception                                   ; +0x11c, 0x4870c8\nB               loc_487214                                             ; +0x120, 0x4870cc\nLDR             R2, [R7,#8]                                            ; +0x122, 0x4870ce\nB               loc_4870D4                                             ; +0x124, 0x4870d0\nADDS            R2, R7, #1                                             ; +0x126, 0x4870d2\nLDRB.W          R9, [R2,R11]                                           ; +0x128, 0x4870d4\nCMP.W           R9, #0x30 ; '0'                                        ; +0x12c, 0x4870d8\nBEQ             loc_48719E                                             ; +0x130, 0x4870dc\nMOV             R0, R6                                                 ; +0x132, 0x4870de\nMOV             R1, R9                                                 ; +0x134, 0x4870e0\nBL              _ZN15GJSmartTemplate13offsetForTypeE14SmartBlockType; GJSmartTemplate::offsetForType(SmartBlockType) ; +0x136, 0x4870e2\nCMP.W           R11, #0                                                ; +0x13a, 0x4870e6\nBNE             loc_4870F6                                             ; +0x13e, 0x4870ea\nADD             R0, SP, #0x4C+var_2C                                   ; +0x140, 0x4870ec\nMOV             R1, R6                                                 ; +0x142, 0x4870ee\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x144, 0x4870f0\nB               loc_487116                                             ; +0x148, 0x4870f4\nCMP.W           R11, #1                                                ; +0x14a, 0x4870f6\nBEQ             loc_487104                                             ; +0x14e, 0x4870fa\nSUB.W           R2, R11, #5                                            ; +0x150, 0x4870fc\nCMP             R2, #1                                                 ; +0x154, 0x487100\nBHI             loc_487110                                             ; +0x156, 0x487102\nVLDR            S15, [SP,#0x4C+var_20]                                 ; +0x158, 0x487104\nVADD.F32        S15, S15, S16                                          ; +0x15c, 0x487108\nVSTR            S15, [SP,#0x4C+var_20]                                 ; +0x160, 0x48710c\nCMP.W           R11, #2                                                ; +0x164, 0x487110\nBEQ             loc_48711E                                             ; +0x168, 0x487114\nSUB.W           R2, R11, #7                                            ; +0x16a, 0x487116\nCMP             R2, #1                                                 ; +0x16e, 0x48711a\nBHI             loc_48712A                                             ; +0x170, 0x48711c\nVLDR            S15, [SP,#0x4C+var_20]                                 ; +0x172, 0x48711e\nVSUB.F32        S15, S15, S16                                          ; +0x176, 0x487122\nVSTR            S15, [SP,#0x4C+var_20]                                 ; +0x17a, 0x487126\nBIC.W           R2, R11, #4                                            ; +0x17e, 0x48712a\nCMP             R2, #3                                                 ; +0x182, 0x48712e\nBEQ             loc_487138                                             ; +0x184, 0x487130\nCMP.W           R11, #5                                                ; +0x186, 0x487132\nBNE             loc_487144                                             ; +0x18a, 0x487136\nVLDR            S15, [SP,#0x4C+var_24]                                 ; +0x18c, 0x487138\nVSUB.F32        S15, S15, S16                                          ; +0x190, 0x48713c\nVSTR            S15, [SP,#0x4C+var_24]                                 ; +0x194, 0x487140\nBIC.W           R2, R11, #2                                            ; +0x198, 0x487144\nCMP             R2, #4                                                 ; +0x19c, 0x487148\nBEQ             loc_487152                                             ; +0x19e, 0x48714a\nCMP.W           R11, #8                                                ; +0x1a0, 0x48714c\nBNE             loc_48715E                                             ; +0x1a4, 0x487150\nVLDR            S15, [SP,#0x4C+var_24]                                 ; +0x1a6, 0x487152\nVADD.F32        S15, S15, S16                                          ; +0x1aa, 0x487156\nVSTR            S15, [SP,#0x4C+var_24]                                 ; +0x1ae, 0x48715a\nMOV             R0, R9                                                 ; +0x1b2, 0x48715e\nBL              _ZN15GJSmartTemplate20smartTypeToObjectKeyE14SmartBlockType; GJSmartTemplate::smartTypeToObjectKey(SmartBlockType) ; +0x1b4, 0x487160\nLDR             R1, [SP,#0x4C+var_44]                                  ; +0x1b8, 0x487164\nMOV             R2, R6                                                 ; +0x1ba, 0x487166\nSTR             R0, [SP,#0x4C+var_40]                                  ; +0x1bc, 0x487168\nMOV             R0, R5                                                 ; +0x1be, 0x48716a\nBL              _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x1c0, 0x48716c\nLDR.W           R12, [SP,#0x4C+var_40]                                 ; +0x1c4, 0x487170\nMOV             R2, R5                                                 ; +0x1c8, 0x487174\nMOV             R0, R4                                                 ; +0x1ca, 0x487176\nMOV             R1, R12                                                ; +0x1cc, 0x487178\nBL              _ZN8EditorUI12createObjectEiN7cocos2d7CCPointE; EditorUI::createObject(int,cocos2d::CCPoint) ; +0x1ce, 0x48717a\nMOV             R2, R0                                                 ; +0x1d2, 0x48717e\nMOV             R0, R9; int                                            ; +0x1d4, 0x487180\nMOV             R1, R2; this                                           ; +0x1d6, 0x487182\nSTR             R2, [SP,#0x4C+var_40]                                  ; +0x1d8, 0x487184\nBL              _ZN15GJSmartTemplate27applyTransformationsForTypeE14SmartBlockTypePN7cocos2d8CCSpriteE; GJSmartTemplate::applyTransformationsForType(SmartBlockType,cocos2d::CCSprite *) ; +0x1da, 0x487186\nCMP.W           R11, #0                                                ; +0x1de, 0x48718a\nBEQ             loc_48719E                                             ; +0x1e2, 0x48718e\nLDR             R2, [SP,#0x4C+var_40]                                  ; +0x1e4, 0x487190\nMOVS            R3, #1                                                 ; +0x1e6, 0x487192\nMOV             R0, R2; this                                           ; +0x1e8, 0x487194\nSTRB.W          R3, [R2,#0x48F]                                        ; +0x1ea, 0x487196\nBL              _ZN15SmartGameObject16updateSmartFrameEv; SmartGameObject::updateSmartFrame(void) ; +0x1ee, 0x48719a\nADD.W           R11, R11, #1                                           ; +0x1f2, 0x48719e\nCMP.W           R11, #9                                                ; +0x1f6, 0x4871a2\nBNE.W           loc_487086                                             ; +0x1fa, 0x4871a6\nCMP.W           R10, #0                                                ; +0x1fe, 0x4871aa\nBLE             loc_48721A                                             ; +0x202, 0x4871ae\nADD             R6, SP, #0x4C+var_14                                   ; +0x204, 0x4871b0\nMOV             R1, R7                                                 ; +0x206, 0x4871b2\nMOV             R0, R6                                                 ; +0x208, 0x4871b4\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_; std::string::basic_string(std::string const&) ; +0x20a, 0x4871b6\nMOV             R0, R8                                                 ; +0x20e, 0x4871ba\nMOV             R1, R6                                                 ; +0x210, 0x4871bc\nMOV             R2, R10                                                ; +0x212, 0x4871be\nBL              _ZN15GJSmartTemplate15getPrefabWithIDENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEi; GJSmartTemplate::getPrefabWithID(std::string,int) ; +0x214, 0x4871c0\nMOV             R7, R0                                                 ; +0x218, 0x4871c4\nMOV             R0, R6                                                 ; +0x21a, 0x4871c6\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x21c, 0x4871c8\nCBZ             R7, loc_48721A                                         ; +0x220, 0x4871cc\nADD.W           R1, R7, #0x40 ; '@'                                    ; +0x222, 0x4871ce\nMOV             R0, R6                                                 ; +0x226, 0x4871d2\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_; std::string::basic_string(std::string const&) ; +0x228, 0x4871d4\nMOVS            R2, #0                                                 ; +0x22c, 0x4871d8\nMOV             R0, R4; int                                            ; +0x22e, 0x4871da\nMOV             R1, R6; int                                            ; +0x230, 0x4871dc\nMOV             R3, R2                                                 ; +0x232, 0x4871de\nBL              _ZN8EditorUI12pasteObjectsENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEbb; EditorUI::pasteObjects(std::string,bool,bool) ; +0x234, 0x4871e0\nMOV             R7, R0                                                 ; +0x238, 0x4871e4\nMOV             R0, R6                                                 ; +0x23a, 0x4871e6\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x23c, 0x4871e8\nCBZ             R7, loc_48721A                                         ; +0x240, 0x4871ec\nMOV             R0, R5                                                 ; +0x242, 0x4871ee\nADD             R1, SP, #0x4C+var_34                                   ; +0x244, 0x4871f0\nADD             R2, SP, #0x4C+var_2C                                   ; +0x246, 0x4871f2\nBL              _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x248, 0x4871f4\nMOV             R0, R4                                                 ; +0x24c, 0x4871f8\nMOV             R1, R7                                                 ; +0x24e, 0x4871fa\nMOV             R2, R5                                                 ; +0x250, 0x4871fc\nMOVS            R3, #0                                                 ; +0x252, 0x4871fe\nBL              _ZN8EditorUI25repositionObjectsToCenterEPN7cocos2d7CCArrayENS0_7CCPointEb; EditorUI::repositionObjectsToCenter(cocos2d::CCArray *,cocos2d::CCPoint,bool) ; +0x254, 0x487200\nMOV             R0, R4; this                                           ; +0x258, 0x487204\nMOV             R1, R7; cocos2d::CCArray *                             ; +0x25a, 0x487206\nBL              _ZN8EditorUI28deleteSmartBlocksFromObjectsEPN7cocos2d7CCArrayE; EditorUI::deleteSmartBlocksFromObjects(cocos2d::CCArray *) ; +0x25c, 0x487208\nB               loc_48721A                                             ; +0x260, 0x48720c\nMOV             R0, R6                                                 ; +0x262, 0x48720e\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x264, 0x487210\nBL              __cxa_end_cleanup                                      ; +0x268, 0x487214\nB               loc_48720E                                             ; +0x26c, 0x487218\nLDR             R3, [SP,#0x4C+var_48]                                  ; +0x26e, 0x48721a\nLDR             R2, [SP,#0x4C+var_8]                                   ; +0x270, 0x48721c\nLDR             R3, [R3]                                               ; +0x272, 0x48721e\nCMP             R2, R3                                                 ; +0x274, 0x487220\nBEQ             loc_487228                                             ; +0x276, 0x487222\nBLX             __stack_chk_fail                                       ; +0x278, 0x487224\nADD             SP, SP, #0x4C ; 'L'                                    ; +0x27c, 0x487228\nVPOP            {D8}                                                   ; +0x27e, 0x48722a\nPOP.W           {R4-R11,PC}                                            ; +0x282, 0x48722e", "xrefs": ["BrowseSmartTemplateLayer::createPrefab @ 0x673db0", "SetupSmartBlockLayer::onCreateAll @ 0x6740d8"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "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"}