{"type": "func", "start": 6322512, "end": 6322646, "name": "DailyLevelNode::create", "pseudocode": "// \n// DailyLevelNode::create from 0x607950 to 0x6079d6 (134 bytes)\n// \n// 1 xrefs:\n// > DailyLevelPage::createDailyNode @ 0x607a16\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:54:45 +0000\n// \n\nint *__fastcall DailyLevelNode::create(DailyLevelNode *this, GJGameLevel *a2, DailyLevelPage *a3, bool a4)\n{\n  int *v7; // r4\n  int v8; // r3\n  int *v9; // r0\n\n  v7 = (int *)operator new(0x128u);\n  cocos2d::CCNode::CCNode((cocos2d::CCNode *)v7);\n  *v7 = (int)&off_CC2FD8;\n  v7[66] = (int)&off_CC31A4;\n  v7[67] = 0;\n  v7[68] = 0;\n  v7[69] = 0;\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v7 + 70));\n  *((_BYTE *)v7 + 292) = 0;\n  *((_BYTE *)v7 + 293) = 0;\n  if ( DailyLevelNode::init((DailyLevelNode *)v7, this, a2, (int)a3) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v7);\n  }\n  else\n  {\n    v8 = *v7;\n    v9 = v7;\n    v7 = nullptr;\n    (*(void (__fastcall **)(int *))(v8 + 8))(v9);\n  }\n  return v7;\n}", "assembly": "; \n; DailyLevelNode::create from 0x607950 to 0x6079d6 (134 bytes)\n; \n; 1 xrefs:\n; > DailyLevelPage::createDailyNode @ 0x607a16\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:54:45 +0000\n; \nPUSH.W          {R4-R8,LR}                                             ; +0x0, 0x607950\nMOV             R8, R0                                                 ; +0x4, 0x607954\nMOV.W           R0, #0x128; unsigned int                               ; +0x6, 0x607956\nMOV             R7, R1                                                 ; +0xa, 0x60795a\nMOV             R6, R2                                                 ; +0xc, 0x60795c\nBL              _Znwj; operator new(uint)                              ; +0xe, 0x60795e\nMOV             R4, R0                                                 ; +0x12, 0x607962\nBL              _ZN7cocos2d6CCNodeC2Ev; cocos2d::CCNode::CCNode(void)  ; +0x14, 0x607964\nLDR             R3, =(_ZTV14DailyLevelNode_ptr - 0x607972)             ; +0x18, 0x607968\nADD.W           R0, R4, #0x118; this                                   ; +0x1a, 0x60796a\nADD             R3, PC; _ZTV14DailyLevelNode_ptr                       ; +0x1e, 0x60796e\nLDR             R3, [R3]; `vtable for'DailyLevelNode ...               ; +0x20, 0x607970\nADD.W           R2, R3, #8                                             ; +0x22, 0x607972\nADD.W           R3, R3, #0x1D4                                         ; +0x26, 0x607976\nSTR             R2, [R4]                                               ; +0x2a, 0x60797a\nSTR.W           R3, [R4,#0x108]                                        ; +0x2c, 0x60797c\nMOVS            R3, #0                                                 ; +0x30, 0x607980\nSTR.W           R3, [R4,#0x10C]                                        ; +0x32, 0x607982\nMOV             R5, R3                                                 ; +0x36, 0x607986\nSTR.W           R3, [R4,#0x110]                                        ; +0x38, 0x607988\nSTR.W           R3, [R4,#0x114]                                        ; +0x3c, 0x60798c\nBL              _ZN7cocos2d7CCPointC1Ev; cocos2d::CCPoint::CCPoint(void) ; +0x40, 0x607990\nSTRB.W          R5, [R4,#0x124]                                        ; +0x44, 0x607994\nMOV             R0, R4; this                                           ; +0x48, 0x607998\nSTRB.W          R5, [R4,#0x125]                                        ; +0x4a, 0x60799a\nMOV             R1, R8; GJGameLevel *                                  ; +0x4e, 0x60799e\nMOV             R2, R7; DailyLevelPage *                               ; +0x50, 0x6079a0\nMOV             R3, R6; bool                                           ; +0x52, 0x6079a2\nBL              _ZN14DailyLevelNode4initEP11GJGameLevelP14DailyLevelPageb; DailyLevelNode::init(GJGameLevel *,DailyLevelPage *,bool) ; +0x54, 0x6079a4\nMOV             R5, R0                                                 ; +0x58, 0x6079a8\nCBZ             R0, loc_6079C6                                         ; +0x5a, 0x6079aa\nMOV             R0, R4; this                                           ; +0x5c, 0x6079ac\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x5e, 0x6079ae\nB               loc_6079D0                                             ; +0x62, 0x6079b2\nMOV             R0, R4; this                                           ; +0x64, 0x6079b4\nBL              _ZN7cocos2d6CCNodeD2Ev; cocos2d::CCNode::~CCNode()     ; +0x66, 0x6079b6\nB               loc_6079BC                                             ; +0x6a, 0x6079ba\nMOV             R0, R4; void *                                         ; +0x6c, 0x6079bc\nBL              _ZdlPv; operator delete(void *)                        ; +0x6e, 0x6079be\nBL              __cxa_end_cleanup                                      ; +0x72, 0x6079c2\nLDR             R3, [R4]                                               ; +0x76, 0x6079c6\nMOV             R0, R4                                                 ; +0x78, 0x6079c8\nMOV             R4, R5                                                 ; +0x7a, 0x6079ca\nLDR             R3, [R3,#8]                                            ; +0x7c, 0x6079cc\nBLX             R3                                                     ; +0x7e, 0x6079ce\nMOV             R0, R4                                                 ; +0x80, 0x6079d0\nPOP.W           {R4-R8,PC}                                             ; +0x82, 0x6079d2", "xrefs": ["DailyLevelPage::createDailyNode @ 0x607a16"], "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"}