{"type": "func", "start": 4295648572, "end": 4295648668, "name": "GJGameLevel::create_1", "pseudocode": "// \n// GJGameLevel::create_1 from 0x1000a653c to 0x1000a659c (96 bytes)\n// \n// 10 xrefs:\n// > GameLevelManager::createNewLevel @ 0x1000a63ac\n// > GJGameLevel::create @ 0x1000a83e0\n// > GJGameLevel::duplicate @ 0x1000ce29c\n// > GJGameLevel::getListSnapshot @ 0x1000d1b8c\n// > GJGameLevel::createWithCoder @ 0x1000d1e34\n// > sub_1000D47B4 @ 0x1000d4814\n// > sub_1000D65AC @ 0x1000d6744\n// > sub_10023BBA4 @ 0x10023bbe8\n// > LevelSelectLayer::init @ 0x100482594\n// > LevelSelectLayer::init @ 0x1004825d4\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 10:58:34 +0000\n// \n\nvoid *GJGameLevel::create_1()\n{\n  void *v0; // x19\n\n  v0 = operator new(0x740u);\n  GJGameLevel::GJGameLevel();\n  if ( (*(unsigned int (__fastcall **)(void *))(*(_QWORD *)v0 + 80LL))(v0) )\n  {\n    cocos2d::CCObject::autorelease((__int64)v0);\n  }\n  else\n  {\n    (*(void (__fastcall **)(void *))(*(_QWORD *)v0 + 16LL))(v0);\n    return nullptr;\n  }\n  return v0;\n}", "assembly": "; \n; GJGameLevel::create_1 from 0x1000a653c to 0x1000a659c (96 bytes)\n; \n; 10 xrefs:\n; > GameLevelManager::createNewLevel @ 0x1000a63ac\n; > GJGameLevel::create @ 0x1000a83e0\n; > GJGameLevel::duplicate @ 0x1000ce29c\n; > GJGameLevel::getListSnapshot @ 0x1000d1b8c\n; > GJGameLevel::createWithCoder @ 0x1000d1e34\n; > sub_1000D47B4 @ 0x1000d4814\n; > sub_1000D65AC @ 0x1000d6744\n; > sub_10023BBA4 @ 0x10023bbe8\n; > LevelSelectLayer::init @ 0x100482594\n; > LevelSelectLayer::init @ 0x1004825d4\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 10:58:34 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1000a653c\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1000a6540\nADD             X29, SP, #0x10                                         ; +0x8, 0x1000a6544\nMOV             W0, #0x740; __sz                                       ; +0xc, 0x1000a6548\nBL              __Znwm; operator new(ulong)                            ; +0x10, 0x1000a654c\nMOV             X19, X0                                                ; +0x14, 0x1000a6550\nBL              GJGameLevel__GJGameLevel                               ; +0x18, 0x1000a6554\nLDR             X8, [X19]                                              ; +0x1c, 0x1000a6558\nLDR             X8, [X8,#0x50]                                         ; +0x20, 0x1000a655c\nMOV             X0, X19                                                ; +0x24, 0x1000a6560\nBLR             X8                                                     ; +0x28, 0x1000a6564\nCBZ             W0, loc_1000A6578                                      ; +0x2c, 0x1000a6568\nMOV             X0, X19                                                ; +0x30, 0x1000a656c\nBL              cocos2d__CCObject__autorelease                         ; +0x34, 0x1000a6570\nB               loc_1000A658C                                          ; +0x38, 0x1000a6574\nLDR             X8, [X19]                                              ; +0x3c, 0x1000a6578\nLDR             X8, [X8,#0x10]                                         ; +0x40, 0x1000a657c\nMOV             X0, X19                                                ; +0x44, 0x1000a6580\nBLR             X8                                                     ; +0x48, 0x1000a6584\nMOV             X19, #0                                                ; +0x4c, 0x1000a6588\nMOV             X0, X19                                                ; +0x50, 0x1000a658c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x54, 0x1000a6590\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x58, 0x1000a6594\nRET                                                                    ; +0x5c, 0x1000a6598", "xrefs": ["GameLevelManager::createNewLevel @ 0x1000a63ac", "GJGameLevel::create @ 0x1000a83e0", "GJGameLevel::duplicate @ 0x1000ce29c", "GJGameLevel::getListSnapshot @ 0x1000d1b8c", "GJGameLevel::createWithCoder @ 0x1000d1e34", "sub_1000D47B4 @ 0x1000d4814", "sub_1000D65AC @ 0x1000d6744", "sub_10023BBA4 @ 0x10023bbe8", "LevelSelectLayer::init @ 0x100482594", "LevelSelectLayer::init @ 0x1004825d4"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}