{"type": "func", "start": 4298054788, "end": 4298054900, "name": "GameObject::createWithFrame", "pseudocode": "// \n// GameObject::createWithFrame from 0x1002f1c84 to 0x1002f1cf4 (112 bytes)\n// \n// 8 xrefs:\n// > PlayLayer::addObject @ 0x100141b88\n// > PlayLayer::addObject @ 0x100141dfc\n// > PlayLayer::createCheckpoint @ 0x100148f7c\n// > PlayLayer::loadPersistentCheckpoint @ 0x10014ae0c\n// > EditorUI::alignObjectsOnAxis @ 0x10015f120\n// > EditorUI::alignObjects @ 0x10015f57c\n// > GameObject::createWithKey @ 0x1002f1a10\n// > LevelPage::addSecretCoin @ 0x100483d34\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 11:02:56 +0000\n// \n\n_BYTE *__fastcall GameObject::createWithFrame(__int64 a1)\n{\n  _BYTE *v2; // x19\n\n  v2 = operator new(0x548u);\n  GameObject::GameObject((__int64)v2);\n  if ( (unsigned int)CCSpritePlus::initWithSpriteFrameName((__int64)v2, a1) )\n  {\n    GameObject::commonSetup(v2);\n    v2[313] = 1;\n    cocos2d::CCObject::autorelease((__int64)v2);\n  }\n  else\n  {\n    (*(void (__fastcall **)(_BYTE *))(*(_QWORD *)v2 + 16LL))(v2);\n    return nullptr;\n  }\n  return v2;\n}", "assembly": "; \n; GameObject::createWithFrame from 0x1002f1c84 to 0x1002f1cf4 (112 bytes)\n; \n; 8 xrefs:\n; > PlayLayer::addObject @ 0x100141b88\n; > PlayLayer::addObject @ 0x100141dfc\n; > PlayLayer::createCheckpoint @ 0x100148f7c\n; > PlayLayer::loadPersistentCheckpoint @ 0x10014ae0c\n; > EditorUI::alignObjectsOnAxis @ 0x10015f120\n; > EditorUI::alignObjects @ 0x10015f57c\n; > GameObject::createWithKey @ 0x1002f1a10\n; > LevelPage::addSecretCoin @ 0x100483d34\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 11:02:56 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1002f1c84\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1002f1c88\nADD             X29, SP, #0x10                                         ; +0x8, 0x1002f1c8c\nMOV             X20, X0                                                ; +0xc, 0x1002f1c90\nMOV             W0, #0x548; __sz                                       ; +0x10, 0x1002f1c94\nBL              __Znwm; operator new(ulong)                            ; +0x14, 0x1002f1c98\nMOV             X19, X0                                                ; +0x18, 0x1002f1c9c\nBL              GameObject__GameObject                                 ; +0x1c, 0x1002f1ca0\nMOV             X0, X19                                                ; +0x20, 0x1002f1ca4\nMOV             X1, X20                                                ; +0x24, 0x1002f1ca8\nBL              CCSpritePlus__initWithSpriteFrameName                  ; +0x28, 0x1002f1cac\nCBZ             W0, loc_1002F1CD0                                      ; +0x2c, 0x1002f1cb0\nMOV             X0, X19                                                ; +0x30, 0x1002f1cb4\nBL              GameObject__commonSetup                                ; +0x34, 0x1002f1cb8\nMOV             W8, #1                                                 ; +0x38, 0x1002f1cbc\nSTRB            W8, [X19,#0x139]                                       ; +0x3c, 0x1002f1cc0\nMOV             X0, X19                                                ; +0x40, 0x1002f1cc4\nBL              cocos2d__CCObject__autorelease                         ; +0x44, 0x1002f1cc8\nB               loc_1002F1CE4                                          ; +0x48, 0x1002f1ccc\nLDR             X8, [X19]                                              ; +0x4c, 0x1002f1cd0\nLDR             X8, [X8,#0x10]                                         ; +0x50, 0x1002f1cd4\nMOV             X0, X19                                                ; +0x54, 0x1002f1cd8\nBLR             X8                                                     ; +0x58, 0x1002f1cdc\nMOV             X19, #0                                                ; +0x5c, 0x1002f1ce0\nMOV             X0, X19                                                ; +0x60, 0x1002f1ce4\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x64, 0x1002f1ce8\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x68, 0x1002f1cec\nRET                                                                    ; +0x6c, 0x1002f1cf0", "xrefs": ["PlayLayer::addObject @ 0x100141b88", "PlayLayer::addObject @ 0x100141dfc", "PlayLayer::createCheckpoint @ 0x100148f7c", "PlayLayer::loadPersistentCheckpoint @ 0x10014ae0c", "EditorUI::alignObjectsOnAxis @ 0x10015f120", "EditorUI::alignObjects @ 0x10015f57c", "GameObject::createWithKey @ 0x1002f1a10", "LevelPage::addSecretCoin @ 0x100483d34"], "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"}