; ; BrowseSmartTemplateLayer::create from 0x100070f04 to 0x100070fbc (184 bytes) ; ; 2 xrefs: ; > SetupSmartTemplateLayer::onClick @ 0x100070e40 ; > BrowseSmartKeyLayer::onBack @ 0x100073b08 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; STP X20, X19, [SP,#-0x10+var_10]! ; +0x0, 0x100070f04 STP X29, X30, [SP,#0x10+var_s0] ; +0x4, 0x100070f08 ADD X29, SP, #0x10 ; +0x8, 0x100070f0c MOV X20, X0 ; +0xc, 0x100070f10 MOV W0, #0x2A8; __sz ; +0x10, 0x100070f14 BL __Znwm; operator new(ulong) ; +0x14, 0x100070f18 MOV X19, X0 ; +0x18, 0x100070f1c BL FLAlertLayer__FLAlertLayer ; +0x1c, 0x100070f20 ADRL X8, off_100778E78 ; +0x20, 0x100070f24 STR X8, [X19] ; +0x28, 0x100070f2c ADD X9, X8, #(off_1007793A0 - 0x100778E78) ; +0x2c, 0x100070f30 ADD X10, X8, #(off_100779410 - 0x100778E78) ; +0x30, 0x100070f34 STP X9, X10, [X19,#0x140] ; +0x34, 0x100070f38 ADD X9, X8, #(off_100779428 - 0x100778E78) ; +0x38, 0x100070f3c ADD X10, X8, #(off_100779448 - 0x100778E78) ; +0x3c, 0x100070f40 STP X9, X10, [X19,#0x150] ; +0x40, 0x100070f44 ADD X9, X8, #(off_100779468 - 0x100778E78) ; +0x44, 0x100070f48 STR X9, [X19,#0x160] ; +0x48, 0x100070f4c ADD X9, X8, #(off_100779490 - 0x100778E78) ; +0x4c, 0x100070f50 STR X9, [X19,#0x198] ; +0x50, 0x100070f54 ADD X8, X8, #(off_100779510 - 0x100778E78) ; +0x54, 0x100070f58 STR X8, [X19,#0x1B0] ; +0x58, 0x100070f5c ADD X8, X19, #0x278 ; +0x5c, 0x100070f60 STR WZR, [X19,#0x288] ; +0x60, 0x100070f64 MOVI V0.16B, #0 ; +0x64, 0x100070f68 STR Q0, [X8] ; +0x68, 0x100070f6c STR XZR, [X19,#0x290] ; +0x6c, 0x100070f70 STR XZR, [X19,#0x2A0] ; +0x70, 0x100070f74 STR XZR, [X19,#0x298] ; +0x74, 0x100070f78 MOV X0, X19 ; +0x78, 0x100070f7c MOV X1, X20 ; +0x7c, 0x100070f80 BL BrowseSmartTemplateLayer__init ; +0x80, 0x100070f84 CBZ W0, loc_100070F98 ; +0x84, 0x100070f88 MOV X0, X19 ; +0x88, 0x100070f8c BL cocos2d__CCObject__autorelease ; +0x8c, 0x100070f90 B loc_100070FAC ; +0x90, 0x100070f94 LDR X8, [X19] ; +0x94, 0x100070f98 LDR X8, [X8,#0x10] ; +0x98, 0x100070f9c MOV X0, X19 ; +0x9c, 0x100070fa0 BLR X8 ; +0xa0, 0x100070fa4 MOV X19, #0 ; +0xa4, 0x100070fa8 MOV X0, X19 ; +0xa8, 0x100070fac LDP X29, X30, [SP,#0x10+var_s0] ; +0xac, 0x100070fb0 LDP X20, X19, [SP+0x10+var_10],#0x20 ; +0xb0, 0x100070fb4 RET ; +0xb4, 0x100070fb8