{"type": "func", "start": 3955112, "end": 3955248, "name": "CCBlockLayer::create", "pseudocode": "// \n// CCBlockLayer::create from 0x3c59a8 to 0x3c5a30 (136 bytes)\n// \n// 0 xrefs:\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:46:34 +0000\n// \n\ncocos2d::CCLayerColor *__fastcall CCBlockLayer::create(CCBlockLayer *this)\n{\n  cocos2d::CCLayerColor *v1; // r4\n  int v2; // r3\n  int *v3; // r0\n\n  v1 = (cocos2d::CCLayerColor *)operator new(0x1BCu);\n  cocos2d::CCLayerColor::CCLayerColor(v1);\n  *(_DWORD *)v1 = &off_C84478;\n  *((_DWORD *)v1 + 66) = &off_C84734;\n  *((_DWORD *)v1 + 67) = &off_C8476C;\n  *((_DWORD *)v1 + 68) = &off_C84778;\n  *((_DWORD *)v1 + 69) = &off_C84788;\n  *((_DWORD *)v1 + 70) = &off_C8479C;\n  *((_DWORD *)v1 + 79) = &off_C847B4;\n  *((_DWORD *)v1 + 83) = &off_C847F4;\n  *((_BYTE *)v1 + 440) = 0;\n  *((_BYTE *)v1 + 441) = 0;\n  if ( CCBlockLayer::init(v1) )\n  {\n    cocos2d::CCObject::autorelease(v1);\n  }\n  else\n  {\n    v2 = *(_DWORD *)v1;\n    v3 = (int *)v1;\n    v1 = nullptr;\n    (*(void (__fastcall **)(int *))(v2 + 8))(v3);\n  }\n  return v1;\n}", "assembly": "; \n; CCBlockLayer::create from 0x3c59a8 to 0x3c5a30 (136 bytes)\n; \n; 0 xrefs:\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:46:34 +0000\n; \nPUSH            {R3-R5,LR}                                             ; +0x0, 0x3c59a8\nMOV.W           R0, #0x1BC; unsigned int                               ; +0x2, 0x3c59aa\nBL              _Znwj; operator new(uint)                              ; +0x6, 0x3c59ae\nMOV             R4, R0                                                 ; +0xa, 0x3c59b2\nBL              _ZN7cocos2d12CCLayerColorC2Ev; cocos2d::CCLayerColor::CCLayerColor(void) ; +0xc, 0x3c59b4\nLDR             R3, =(_ZTV12CCBlockLayer_ptr - 0x3C59C0)               ; +0x10, 0x3c59b8\nMOV             R0, R4; this                                           ; +0x12, 0x3c59ba\nADD             R3, PC; _ZTV12CCBlockLayer_ptr                         ; +0x14, 0x3c59bc\nLDR             R3, [R3]; `vtable for'CCBlockLayer ...                 ; +0x16, 0x3c59be\nADD.W           R2, R3, #8                                             ; +0x18, 0x3c59c0\nSTR             R2, [R4]                                               ; +0x1c, 0x3c59c4\nADD.W           R2, R3, #0x2C4                                         ; +0x1e, 0x3c59c6\nSTR.W           R2, [R4,#0x108]                                        ; +0x22, 0x3c59ca\nADD.W           R2, R3, #0x2FC                                         ; +0x26, 0x3c59ce\nSTR.W           R2, [R4,#0x10C]                                        ; +0x2a, 0x3c59d2\nADD.W           R2, R3, #0x308                                         ; +0x2e, 0x3c59d6\nSTR.W           R2, [R4,#0x110]                                        ; +0x32, 0x3c59da\nADD.W           R2, R3, #0x318                                         ; +0x36, 0x3c59de\nSTR.W           R2, [R4,#0x114]                                        ; +0x3a, 0x3c59e2\nADD.W           R2, R3, #0x32C                                         ; +0x3e, 0x3c59e6\nSTR.W           R2, [R4,#0x118]                                        ; +0x42, 0x3c59ea\nADD.W           R2, R3, #0x344                                         ; +0x46, 0x3c59ee\nADD.W           R3, R3, #0x384                                         ; +0x4a, 0x3c59f2\nSTR.W           R2, [R4,#0x13C]                                        ; +0x4e, 0x3c59f6\nSTR.W           R3, [R4,#0x14C]                                        ; +0x52, 0x3c59fa\nMOVS            R3, #0                                                 ; +0x56, 0x3c59fe\nSTRB.W          R3, [R4,#0x1B8]                                        ; +0x58, 0x3c5a00\nSTRB.W          R3, [R4,#0x1B9]                                        ; +0x5c, 0x3c5a04\nBL              _ZN12CCBlockLayer4initEv; CCBlockLayer::init(void)     ; +0x60, 0x3c5a08\nMOV             R5, R0                                                 ; +0x64, 0x3c5a0c\nCBZ             R0, loc_3C5A22                                         ; +0x66, 0x3c5a0e\nMOV             R0, R4; this                                           ; +0x68, 0x3c5a10\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x6a, 0x3c5a12\nB               loc_3C5A2C                                             ; +0x6e, 0x3c5a16\nMOV             R0, R4; void *                                         ; +0x70, 0x3c5a18\nBL              _ZdlPv; operator delete(void *)                        ; +0x72, 0x3c5a1a\nBL              __cxa_end_cleanup                                      ; +0x76, 0x3c5a1e\nLDR             R3, [R4]                                               ; +0x7a, 0x3c5a22\nMOV             R0, R4                                                 ; +0x7c, 0x3c5a24\nMOV             R4, R5                                                 ; +0x7e, 0x3c5a26\nLDR             R3, [R3,#8]                                            ; +0x80, 0x3c5a28\nBLX             R3                                                     ; +0x82, 0x3c5a2a\nMOV             R0, R4                                                 ; +0x84, 0x3c5a2c\nPOP             {R3-R5,PC}                                             ; +0x86, 0x3c5a2e", "xrefs": [], "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"}