{"type": "func", "start": 4296191924, "end": 4296192068, "name": "BoomScrollLayer::create", "pseudocode": "// \n// BoomScrollLayer::create from 0x10012afb4 to 0x10012b044 (144 bytes)\n// \n// 5 xrefs:\n// > BoomScrollLayer::create_1 @ 0x10012b2f4\n// > GauntletSelectLayer::setupGauntlets @ 0x1001bf5c0\n// > SecretRewardsLayer::init @ 0x1002e95d0\n// > SecretRewardsLayer::createSecondaryLayer @ 0x1002eac48\n// > LevelSelectLayer::init @ 0x100401dbc\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nBoomScrollLayer *__fastcall BoomScrollLayer::create(\n        cocos2d::CCArray *a1,\n        int a2,\n        bool a3,\n        cocos2d::CCArray *a4,\n        DynamicScrollDelegate *a5)\n{\n  BoomScrollLayer *v10; // x19\n\n  v10 = (BoomScrollLayer *)operator new(0x270u);\n  BoomScrollLayer::BoomScrollLayer(v10);\n  if ( BoomScrollLayer::init(v10, a1, a2, a3, a4, a5) )\n  {\n    cocos2d::CCObject::autorelease(v10);\n  }\n  else\n  {\n    ((void (__fastcall *)(BoomScrollLayer *))v10->~BoomScrollLayer_0)(v10);\n    return nullptr;\n  }\n  return v10;\n}", "assembly": "; \n; BoomScrollLayer::create from 0x10012afb4 to 0x10012b044 (144 bytes)\n; \n; 5 xrefs:\n; > BoomScrollLayer::create_1 @ 0x10012b2f4\n; > GauntletSelectLayer::setupGauntlets @ 0x1001bf5c0\n; > SecretRewardsLayer::init @ 0x1002e95d0\n; > SecretRewardsLayer::createSecondaryLayer @ 0x1002eac48\n; > LevelSelectLayer::init @ 0x100401dbc\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X24, X23, [SP,#-0x10+var_30]!                          ; +0x0, 0x10012afb4\nSTP             X22, X21, [SP,#0x30+var_20]                            ; +0x4, 0x10012afb8\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x8, 0x10012afbc\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0xc, 0x10012afc0\nADD             X29, SP, #0x30                                         ; +0x10, 0x10012afc4\nMOV             X20, X4                                                ; +0x14, 0x10012afc8\nMOV             X21, X3                                                ; +0x18, 0x10012afcc\nMOV             X22, X2                                                ; +0x1c, 0x10012afd0\nMOV             X23, X1                                                ; +0x20, 0x10012afd4\nMOV             X24, X0                                                ; +0x24, 0x10012afd8\nMOV             W0, #0x270; __sz                                       ; +0x28, 0x10012afdc\nBL              __Znwm; operator new(ulong)                            ; +0x2c, 0x10012afe0\nMOV             X19, X0                                                ; +0x30, 0x10012afe4\nBL              BoomScrollLayer__BoomScrollLayer                       ; +0x34, 0x10012afe8\nMOV             X0, X19                                                ; +0x38, 0x10012afec\nMOV             X1, X24                                                ; +0x3c, 0x10012aff0\nMOV             X2, X23                                                ; +0x40, 0x10012aff4\nMOV             X3, X22                                                ; +0x44, 0x10012aff8\nMOV             X4, X21                                                ; +0x48, 0x10012affc\nMOV             X5, X20                                                ; +0x4c, 0x10012b000\nBL              BoomScrollLayer__init                                  ; +0x50, 0x10012b004\nCBZ             W0, loc_10012B018                                      ; +0x54, 0x10012b008\nMOV             X0, X19                                                ; +0x58, 0x10012b00c\nBL              cocos2d__CCObject__autorelease                         ; +0x5c, 0x10012b010\nB               loc_10012B02C                                          ; +0x60, 0x10012b014\nLDR             X8, [X19]                                              ; +0x64, 0x10012b018\nLDR             X8, [X8,#0x10]                                         ; +0x68, 0x10012b01c\nMOV             X0, X19                                                ; +0x6c, 0x10012b020\nBLR             X8                                                     ; +0x70, 0x10012b024\nMOV             X19, #0                                                ; +0x74, 0x10012b028\nMOV             X0, X19                                                ; +0x78, 0x10012b02c\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x7c, 0x10012b030\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x80, 0x10012b034\nLDP             X22, X21, [SP,#0x30+var_20]                            ; +0x84, 0x10012b038\nLDP             X24, X23, [SP+0x30+var_30],#0x40                       ; +0x88, 0x10012b03c\nRET                                                                    ; +0x8c, 0x10012b040", "xrefs": ["BoomScrollLayer::create_1 @ 0x10012b2f4", "GauntletSelectLayer::setupGauntlets @ 0x1001bf5c0", "SecretRewardsLayer::init @ 0x1002e95d0", "SecretRewardsLayer::createSecondaryLayer @ 0x1002eac48", "LevelSelectLayer::init @ 0x100401dbc"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}